Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9152/0.9166, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003085/0.9198, allocations: 1.645 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.9215, allocations: 1.17 MB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.9216, allocations: 1.094 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.9218, allocations: 24.95 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.9222, allocations: 72.7 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.9226, allocations: 137.8 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.9229, allocations: 234.4 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.9231, allocations: 20.08 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.9232, allocations: 77.53 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.9235, allocations: 96.69 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.9235, allocations: 21.31 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.9237, allocations: 80.39 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.9238, allocations: 76.03 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.9239, allocations: 103.9 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.9244, allocations: 283.7 kB / 1.093 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.9244, allocations: 1.156 kB / 1.093 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9244, allocations: 0 / 1.093 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9244, allocations: 0 / 1.093 GB, free: 3.008 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006995/0.9251, allocations: 0.5264 MB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.9252, allocations: 13.95 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.9253, allocations: 34.22 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.9255, allocations: 259.1 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.9255, allocations: 10.28 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.9256, allocations: 15.28 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.926, allocations: 220.6 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.926, allocations: 0 / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.926, allocations: 10.33 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.926, allocations: 4.344 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.9273, allocations: 0.741 MB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008893/0.9282, allocations: 0.5664 MB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.9287, allocations: 302.5 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.9289, allocations: 107.7 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.929, allocations: 16.59 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.9294, allocations: 176.8 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.914e-06/0.9294, allocations: 5.375 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0007482/0.9301, allocations: 366.2 kB / 1.096 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.9302, allocations: 137.4 kB / 1.096 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.9305, allocations: 298.8 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.9306, allocations: 39.89 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.9306, allocations: 122 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.9307, allocations: 114.9 kB / 1.096 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.9308, allocations: 65.3 kB / 1.097 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.9309, allocations: 338.1 kB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.9311, allocations: 79.91 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.9313, allocations: 130.2 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.9316, allocations: 218.6 kB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9316, allocations: 1.094 kB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004717/0.9321, allocations: 271.7 kB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9321, allocations: 6.281 kB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9321, allocations: 0 / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.9321, allocations: 1.062 kB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.9324, allocations: 64.98 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9324, allocations: 1.672 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.9326, allocations: 31.86 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.9326, allocations: 18.23 kB / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.9328, allocations: 158.1 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.9329, allocations: 23.59 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007739/0.9337, allocations: 385.5 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9337, allocations: 3.5 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9337, allocations: 1 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9337, allocations: 6.656 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.9341, allocations: 332.8 kB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9341, allocations: 0 / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.9343, allocations: 60.95 kB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.9343, allocations: 1.609 kB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.9343, allocations: 14.94 kB / 1.099 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.9343, allocations: 0.9062 kB / 1.099 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.9343, allocations: 1.125 kB / 1.099 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.9349, allocations: 319.2 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.935, allocations: 142.1 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.9351, allocations: 10.84 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.9352, allocations: 12.62 kB / 1.099 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.9353, allocations: 30.09 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.9354, allocations: 14.34 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002394/0.9356, allocations: 230.2 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9356, allocations: 1.094 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003278/0.936, allocations: 60.91 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.937, allocations: 403.2 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.9375, allocations: 230.1 kB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9375, allocations: 5.156 kB / 1.1 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.9377, allocations: 128.7 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.938, allocations: 36.25 kB / 1.1 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.9389, allocations: 0.5256 MB / 1.101 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.9393, allocations: 0.7651 MB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.9394, allocations: 48.45 kB / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of SimCode: time 2.685e-06/0.9395, allocations: 0 / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.009193/0.9487, allocations: 4.222 MB / 1.106 GB, free: 13.12 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches