Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002154/0.002154, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.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.746/2.746, allocations: 390.2 MB / 0.6643 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003284/1.034, allocations: 1.876 MB / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/1.035, allocations: 126.5 kB / 0.951 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/1.035, allocations: 1.469 kB / 0.951 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/1.035, allocations: 15.8 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.186e-05/1.035, allocations: 46.39 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/1.035, allocations: 30.72 kB / 0.9511 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/1.036, allocations: 174.6 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/1.036, allocations: 25.27 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/1.036, allocations: 53.97 kB / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/1.036, allocations: 76.42 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/1.036, allocations: 9.625 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/1.036, allocations: 9.625 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/1.036, allocations: 22.67 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/1.036, allocations: 70.97 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/1.036, allocations: 119.8 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.036, allocations: 0 / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.205e-06/1.036, allocations: 0 / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.036, allocations: 1.406 kB / 0.9517 GB, free: 7.09 MB / 0.7169 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.0007304/1.037, allocations: 452.4 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.037, allocations: 9.406 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/1.037, allocations: 15.56 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/1.037, allocations: 205.3 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.037, allocations: 6.938 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/1.037, allocations: 8.281 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/1.038, allocations: 125.2 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.038, allocations: 192 / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.038, allocations: 5.281 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/1.038, allocations: 2.406 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/1.038, allocations: 95.55 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/1.039, allocations: 472.5 kB / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/1.039, allocations: 137 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/1.039, allocations: 56.41 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/1.039, allocations: 1.562 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/1.039, allocations: 35.78 kB / 0.9532 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/1.039, allocations: 1 kB / 0.9532 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005786/1.04, allocations: 184.3 kB / 0.9534 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/1.04, allocations: 79.73 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/1.04, allocations: 170.4 kB / 0.9536 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/1.04, allocations: 25.7 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/1.04, allocations: 109.1 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/1.04, allocations: 27.88 kB / 0.9538 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/1.04, allocations: 27.39 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/1.041, allocations: 333.7 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/1.041, allocations: 43.06 kB / 0.9542 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/1.041, allocations: 59.19 kB / 0.9542 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/1.041, allocations: 107.3 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.041, allocations: 0 / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003287/1.041, allocations: 146.5 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.041, allocations: 4.781 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.041, allocations: 1.094 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.041, allocations: 0.875 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/1.042, allocations: 25.03 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.042, allocations: 5.125 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/1.042, allocations: 23.27 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/1.042, allocations: 10.12 kB / 0.9545 GB, free: 4.535 MB / 0.7169 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 8.148e-05/1.042, allocations: 116.6 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/1.042, allocations: 10.28 kB / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/1.042, allocations: 168.8 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.042, allocations: 1.219 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.042, allocations: 4.844 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.042, allocations: 0.9375 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/1.043, allocations: 216.4 kB / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.043, allocations: 0 / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/1.043, allocations: 24.34 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.043, allocations: 1.219 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/1.043, allocations: 5.156 kB / 0.9551 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.043, allocations: 5.344 kB / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/1.043, allocations: 0 / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/1.043, allocations: 309.3 kB / 0.9554 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/1.043, allocations: 93.31 kB / 0.9555 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/1.043, allocations: 1.25 kB / 0.9555 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/1.043, allocations: 9.562 kB / 0.9555 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/1.044, allocations: 11.33 kB / 0.9555 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/1.044, allocations: 10.16 kB / 0.9555 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.015e-05/1.044, allocations: 123.9 kB / 0.9556 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 0.9556 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002857/1.044, allocations: 33.62 kB / 0.9556 GB, free: 3.566 MB / 0.7169 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.0001081/1.044, allocations: 103 kB / 0.9557 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003541/1.044, allocations: 107.7 kB / 0.9558 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.044, allocations: 0 / 0.9558 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/1.045, allocations: 59.88 kB / 0.9559 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/1.045, allocations: 44.56 kB / 0.9559 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/1.046, allocations: 269.7 kB / 0.9562 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/1.046, allocations: 0.702 MB / 0.9569 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.095e-05/1.046, allocations: 15.12 kB / 0.9569 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/1.046, allocations: 13.88 kB / 0.9569 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/1.046, allocations: 0 / 0.9569 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.004517/1.05, allocations: 2.013 MB / 0.9589 GB, free: 1.441 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches