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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 189 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002833/0.002833, allocations: 63.09 kB / 1.109 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4028, allocations: 168.7 MB / 1.274 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003762/0.4066, allocations: 1.837 MB / 1.276 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003497/0.4069, allocations: 123.6 kB / 1.276 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.407, allocations: 3.938 kB / 1.276 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.4071, allocations: 15.86 kB / 1.276 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.958e-05/0.4072, allocations: 47.56 kB / 1.276 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.4074, allocations: 31.95 kB / 1.276 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.4077, allocations: 175.1 kB / 1.276 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.4078, allocations: 25.05 kB / 1.276 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.4079, allocations: 51.84 kB / 1.276 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.4081, allocations: 67.7 kB / 1.276 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.4081, allocations: 8 kB / 1.276 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.4081, allocations: 12 kB / 1.276 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.4082, allocations: 23.91 kB / 1.276 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.4083, allocations: 67.61 kB / 1.276 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.4085, allocations: 127.5 kB / 1.277 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4085, allocations: 4 kB / 1.277 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4085, allocations: 4 kB / 1.277 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4085, allocations: 0 / 1.277 GB, free: 8.672 MB / 0.9825 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.0009117/0.4094, allocations: 454.7 kB / 1.277 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4094, allocations: 8.031 kB / 1.277 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.4095, allocations: 16.84 kB / 1.277 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.4098, allocations: 208.1 kB / 1.277 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.4098, allocations: 8.312 kB / 1.277 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.4098, allocations: 8.375 kB / 1.277 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.4102, allocations: 119.8 kB / 1.277 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4102, allocations: 192 / 1.277 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.4102, allocations: 7.938 kB / 1.277 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4102, allocations: 0 / 1.277 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.4105, allocations: 99.86 kB / 1.277 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.4113, allocations: 468.8 kB / 1.278 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.4117, allocations: 125.2 kB / 1.278 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.4119, allocations: 57.78 kB / 1.278 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.4119, allocations: 3.984 kB / 1.278 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.412, allocations: 42.5 kB / 1.278 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.412, allocations: 0 / 1.278 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006075/0.4126, allocations: 169.8 kB / 1.278 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.4126, allocations: 85.05 kB / 1.278 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.4128, allocations: 174.4 kB / 1.279 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.4129, allocations: 25.7 kB / 1.279 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.413, allocations: 116 kB / 1.279 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.413, allocations: 27.75 kB / 1.279 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.4131, allocations: 25.7 kB / 1.279 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4132, allocations: 322.8 kB / 1.279 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.4134, allocations: 48.03 kB / 1.279 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.4135, allocations: 61.69 kB / 1.279 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.4138, allocations: 105.5 kB / 1.279 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4138, allocations: 0 / 1.279 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003718/0.4142, allocations: 145.5 kB / 1.279 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4142, allocations: 4 kB / 1.279 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4142, allocations: 8 kB / 1.279 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.4142, allocations: 0 / 1.279 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4144, allocations: 23.92 kB / 1.279 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4144, allocations: 0 / 1.279 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.4145, allocations: 15.94 kB / 1.279 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.4146, allocations: 11.94 kB / 1.279 GB, free: 5.473 MB / 0.9825 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.0001287/0.4147, allocations: 116.5 kB / 1.28 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.4147, allocations: 12.14 kB / 1.28 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.4152, allocations: 162.5 kB / 1.28 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4152, allocations: 8.172 kB / 1.28 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4152, allocations: 192 / 1.28 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4152, allocations: 0 / 1.28 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.4156, allocations: 237.5 kB / 1.28 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4156, allocations: 0 / 1.28 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.4157, allocations: 23.98 kB / 1.28 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4157, allocations: 0 / 1.28 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4157, allocations: 3.938 kB / 1.28 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.4157, allocations: 7.984 kB / 1.28 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4157, allocations: 0 / 1.28 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.4162, allocations: 319.7 kB / 1.28 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.4163, allocations: 89.06 kB / 1.28 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.4163, allocations: 4 kB / 1.28 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.4165, allocations: 7.984 kB / 1.28 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.4165, allocations: 11.98 kB / 1.28 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.4166, allocations: 7.938 kB / 1.28 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001342/0.4167, allocations: 124.2 kB / 1.281 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4167, allocations: 0 / 1.281 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002891/0.417, allocations: 28 kB / 1.281 GB, free: 4.238 MB / 0.9825 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.0001411/0.4171, allocations: 105.2 kB / 1.281 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.4175, allocations: 103.9 kB / 1.281 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4175, allocations: 0 / 1.281 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4177, allocations: 51.91 kB / 1.281 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4181, allocations: 56.28 kB / 1.281 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.4187, allocations: 239.2 kB / 1.281 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.4191, allocations: 0.7084 MB / 1.282 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.858e-05/0.4192, allocations: 8.641 kB / 1.282 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.4192, allocations: 19.44 kB / 1.282 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4192, allocations: 0 / 1.282 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of Templates: time 0.005911/0.4252, allocations: 2.132 MB / 1.284 GB, free: 0.8047 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.293005379848182]