Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001433/0.001433, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001635/0.001635, allocations: 222.3 kB / 23 MB, free: 4.91 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.228/3.228, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 65.14 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003063/0.3415, allocations: 1.785 MB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.3418, allocations: 119.6 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.3419, allocations: 8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.342, allocations: 15.8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.725e-05/0.3421, allocations: 51.55 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.3422, allocations: 31.95 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.3425, allocations: 171.1 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3426, allocations: 25.22 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.3427, allocations: 51.8 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3428, allocations: 67.75 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.3428, allocations: 12 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.3428, allocations: 8 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.3429, allocations: 23.86 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.3429, allocations: 59.78 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3431, allocations: 127.4 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3431, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3431, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3432, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 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.0007889/0.3439, allocations: 381.7 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.344, allocations: 8.031 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.344, allocations: 16.84 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3443, allocations: 151.4 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3443, allocations: 384 / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3443, allocations: 8.375 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.3446, allocations: 123.8 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3446, allocations: 4.188 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3447, allocations: 7.875 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3447, allocations: 4 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.345, allocations: 95.92 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.3457, allocations: 388.5 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.3461, allocations: 129.2 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.3462, allocations: 57.72 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3462, allocations: 4 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3463, allocations: 30.56 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3463, allocations: 0 / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0005859/0.3469, allocations: 189.4 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.3469, allocations: 81.11 kB / 1.369 GB, free: 9.234 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3471, allocations: 159.3 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3471, allocations: 29.7 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.3472, allocations: 112 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.3472, allocations: 35.69 kB / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.3473, allocations: 21.72 kB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3474, allocations: 322.8 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3476, allocations: 51.91 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3477, allocations: 57.69 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.348, allocations: 109.9 kB / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.348, allocations: 0 / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003471/0.3483, allocations: 141.5 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3484, allocations: 8 kB / 1.37 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3484, allocations: 4 kB / 1.37 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3484, allocations: 0 / 1.37 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.3485, allocations: 19.98 kB / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3485, allocations: 0 / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3486, allocations: 15.94 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3486, allocations: 4 kB / 1.37 GB, free: 8.105 MB / 1.061 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.0001052/0.3488, allocations: 125.7 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.3488, allocations: 11.94 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.3492, allocations: 162.6 kB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3492, allocations: 4 kB / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3492, allocations: 0 / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3492, allocations: 240 / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.3495, allocations: 157.4 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3495, allocations: 0 / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.3496, allocations: 23.92 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.3496, allocations: 11.98 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3496, allocations: 4 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3496, allocations: 0 / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3497, allocations: 7.922 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.3501, allocations: 314.8 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.3501, allocations: 11.91 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.3501, allocations: 4 kB / 1.371 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.3503, allocations: 11.98 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3503, allocations: 15.98 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3503, allocations: 0 / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001004/0.3504, allocations: 123.9 kB / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3504, allocations: 0 / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002787/0.3507, allocations: 28 kB / 1.371 GB, free: 7.043 MB / 1.061 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.0001143/0.3508, allocations: 95.25 kB / 1.371 GB, free: 6.938 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.3512, allocations: 103.9 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3512, allocations: 0 / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3514, allocations: 51.95 kB / 1.371 GB, free: 6.785 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.3518, allocations: 39.22 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.3523, allocations: 258.3 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.835e-05/0.3524, allocations: 97.03 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.3524, allocations: 15.44 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3524, allocations: 0 / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of Templates: time 0.003632/0.3561, allocations: 1.757 MB / 1.373 GB, free: 4.602 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.244140416849405]