Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00268/0.00268, allocations: 171.9 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.96/2.96, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.643e-05, allocations: 10.16 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004325/0.004361, allocations: 1.773 MB / 0.9527 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005271/0.004889, allocations: 131.5 kB / 0.9528 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.00503, allocations: 0 / 0.9528 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.005191, allocations: 23.78 kB / 0.9528 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.005347, allocations: 47.56 kB / 0.9529 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.00553, allocations: 31.95 kB / 0.9529 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.005885, allocations: 187 kB / 0.9531 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.006043, allocations: 17.3 kB / 0.9531 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.006253, allocations: 79.86 kB / 0.9532 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.00639, allocations: 55.81 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.006428, allocations: 8 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.544e-05/0.006463, allocations: 12 kB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.006508, allocations: 23.91 kB / 0.9533 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.006604, allocations: 43.91 kB / 0.9533 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.006871, allocations: 139.5 kB / 0.9534 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.006876, allocations: 0 / 0.9534 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006876, allocations: 0 / 0.9534 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.006885, allocations: 4 kB / 0.9534 GB, free: 9.047 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009648/0.00785, allocations: 369.7 kB / 0.9538 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.007902, allocations: 12.03 kB / 0.9538 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.007972, allocations: 12.84 kB / 0.9538 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.008361, allocations: 157.5 kB / 0.954 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.008377, allocations: 4.375 kB / 0.954 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.008398, allocations: 12.38 kB / 0.954 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.008745, allocations: 120.5 kB / 0.9541 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.008758, allocations: 192 / 0.9541 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.008775, allocations: 4.312 kB / 0.9541 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.008784, allocations: 4.375 kB / 0.9541 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.009121, allocations: 99.81 kB / 0.9542 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.01001, allocations: 392.5 kB / 0.9546 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.01046, allocations: 125.2 kB / 0.9547 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.01065, allocations: 53.78 kB / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.01068, allocations: 8 kB / 0.9548 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.01071, allocations: 30.56 kB / 0.9548 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.01071, allocations: 4 kB / 0.9548 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006741/0.01138, allocations: 185.4 kB / 0.955 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.01146, allocations: 81.11 kB / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.01165, allocations: 161.3 kB / 0.9552 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.01167, allocations: 29.7 kB / 0.9552 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.01176, allocations: 104.1 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.0118, allocations: 27.75 kB / 0.9554 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.01186, allocations: 29.7 kB / 0.9554 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.01203, allocations: 322.8 kB / 0.9557 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.01218, allocations: 43.91 kB / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.01234, allocations: 57.69 kB / 0.9558 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.01267, allocations: 101.9 kB / 0.9559 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01267, allocations: 0 / 0.9559 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004031/0.01307, allocations: 157.4 kB / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.0131, allocations: 8 kB / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.0131, allocations: 0 / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01312, allocations: 0 / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01328, allocations: 23.92 kB / 0.9561 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.0133, allocations: 4 kB / 0.9561 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.01342, allocations: 15.92 kB / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.01344, allocations: 8 kB / 0.9561 GB, free: 6.117 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001283/0.01356, allocations: 113.8 kB / 0.9562 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.01363, allocations: 19.84 kB / 0.9562 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.01411, allocations: 162.9 kB / 0.9564 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.01412, allocations: 4 kB / 0.9564 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.01413, allocations: 0 / 0.9564 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01413, allocations: 0 / 0.9564 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.01447, allocations: 149.5 kB / 0.9565 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.01447, allocations: 3.984 kB / 0.9565 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.01462, allocations: 27.86 kB / 0.9565 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.01463, allocations: 4 kB / 0.9566 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01464, allocations: 0 / 0.9566 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.01464, allocations: 192 / 0.9566 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01465, allocations: 0 / 0.9566 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.01515, allocations: 314.6 kB / 0.9569 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.01518, allocations: 19.88 kB / 0.9569 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.01521, allocations: 4 kB / 0.9569 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.01538, allocations: 11.98 kB / 0.9569 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.01544, allocations: 7.938 kB / 0.9569 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01546, allocations: 3.984 kB / 0.9569 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001129/0.01557, allocations: 124.9 kB / 0.957 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01557, allocations: 0 / 0.957 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003129/0.01588, allocations: 35.89 kB / 0.9571 GB, free: 5.074 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001381/0.01602, allocations: 95.25 kB / 0.9571 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.01642, allocations: 107.9 kB / 0.9572 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01642, allocations: 3.938 kB / 0.9572 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.01659, allocations: 51.91 kB / 0.9573 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.01704, allocations: 47.92 kB / 0.9573 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.01766, allocations: 226.6 kB / 0.9576 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.01777, allocations: 93.17 kB / 0.9576 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.171e-05/0.01785, allocations: 12.48 kB / 0.9577 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.01791, allocations: 16.5 kB / 0.9577 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of SimCode: time 6.81e-07/0.01791, allocations: 0 / 0.9577 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of Templates: time 0.006011/0.02392, allocations: 2.12 MB / 0.9597 GB, free: 2.332 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.626812346279621]