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.001474/0.001474, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001486/0.001486, allocations: 186 kB / 20.78 MB, free: 1.547 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.507/1.507, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.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.921/2.921, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 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.002085/0.002085, allocations: 71.88 kB / 1.107 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5/1.502, allocations: 168.7 MB / 1.272 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004713/1.507, allocations: 1.852 MB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004398/1.507, allocations: 111.3 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/1.507, allocations: 5.906 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/1.508, allocations: 19.31 kB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/1.508, allocations: 47.58 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/1.508, allocations: 30.53 kB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/1.508, allocations: 174.5 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/1.508, allocations: 20.2 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/1.509, allocations: 50.39 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/1.509, allocations: 75.06 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/1.509, allocations: 13.81 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.605e-05/1.509, allocations: 9.156 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/1.509, allocations: 25.09 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/1.509, allocations: 64.08 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/1.509, allocations: 132.6 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.509, allocations: 0 / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.509, allocations: 0 / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.617e-05/1.509, allocations: 0.9688 kB / 1.274 GB, free: 6.176 MB / 0.9981 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.0008504/1.51, allocations: 454.1 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.51, allocations: 9.656 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/1.51, allocations: 15.44 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/1.51, allocations: 206.7 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/1.51, allocations: 3.25 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/1.511, allocations: 9.062 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/1.511, allocations: 125.5 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.511, allocations: 192 / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.511, allocations: 8.969 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.511, allocations: 1.344 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/1.511, allocations: 93.66 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/1.512, allocations: 484.1 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/1.513, allocations: 125.3 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/1.513, allocations: 55.28 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/1.513, allocations: 1.781 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/1.513, allocations: 37.23 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/1.513, allocations: 1.125 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0007109/1.514, allocations: 178 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/1.514, allocations: 82.48 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/1.514, allocations: 168.5 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/1.514, allocations: 26.8 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/1.514, allocations: 116.8 kB / 1.277 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/1.514, allocations: 33.52 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/1.514, allocations: 26 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.514, allocations: 331.4 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/1.514, allocations: 37.78 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/1.514, allocations: 60.16 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/1.515, allocations: 107.4 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.515, allocations: 0 / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003792/1.515, allocations: 143.6 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.515, allocations: 7.547 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.515, allocations: 0.6875 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/1.515, allocations: 1.188 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/1.515, allocations: 25.53 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.515, allocations: 4.656 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/1.516, allocations: 22.91 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/1.516, allocations: 6.344 kB / 1.277 GB, free: 3.867 MB / 0.9981 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 7.884e-05/1.516, allocations: 114.9 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/1.516, allocations: 16.36 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/1.516, allocations: 159.3 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.516, allocations: 2.094 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.516, allocations: 0.875 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.516, allocations: 0 / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/1.516, allocations: 224.3 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.516, allocations: 0.75 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/1.517, allocations: 21.16 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/1.517, allocations: 1.844 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.517, allocations: 4.781 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.517, allocations: 5 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.517, allocations: 1.922 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/1.517, allocations: 309.4 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/1.517, allocations: 90.09 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/1.517, allocations: 1.75 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/1.517, allocations: 12.56 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/1.517, allocations: 20.59 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/1.517, allocations: 5.531 kB / 1.278 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001034/1.517, allocations: 123 kB / 1.278 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.517, allocations: 4.938 kB / 1.278 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003025/1.518, allocations: 36.3 kB / 1.278 GB, free: 2.965 MB / 0.9981 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.0001207/1.518, allocations: 96.64 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004009/1.518, allocations: 106.5 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.518, allocations: 0 / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/1.518, allocations: 55.17 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/1.519, allocations: 55.33 kB / 1.279 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000668/1.52, allocations: 231.9 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/1.52, allocations: 0.7074 MB / 1.28 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.886e-05/1.52, allocations: 14.61 kB / 1.28 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/1.52, allocations: 13.69 kB / 1.28 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.52, allocations: 0 / 1.28 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of Templates: time 0.007704/1.528, allocations: 2.139 MB / 1.282 GB, free: 1.762 MB / 0.9981 GB " [Timeout remaining time 298] 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: 10.429989555850625]