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.001522/0.001521, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 195.9 kB / 16.53 MB, free: 6.684 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.561/1.561, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.753/2.753, allocations: 390.2 MB / 0.6646 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 63.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.157, allocations: 140.4 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003604/1.161, allocations: 1.823 MB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003221/1.161, allocations: 114.9 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/1.161, allocations: 5.75 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/1.161, allocations: 23.78 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.16e-05/1.161, allocations: 49.66 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/1.162, allocations: 35.81 kB / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/1.162, allocations: 169.7 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/1.162, allocations: 37.5 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/1.162, allocations: 49.61 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/1.162, allocations: 68.97 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/1.162, allocations: 8.688 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-05/1.162, allocations: 10.5 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/1.162, allocations: 30.52 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/1.163, allocations: 62.86 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/1.163, allocations: 120.4 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.163, allocations: 3.984 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.285e-06/1.163, allocations: 4 kB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.163, allocations: 0 / 0.9521 GB, free: 7.18 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.0008276/1.164, allocations: 445.3 kB / 0.9525 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/1.164, allocations: 10.09 kB / 0.9525 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/1.164, allocations: 15.91 kB / 0.9526 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/1.164, allocations: 207.3 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/1.164, allocations: 12.25 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/1.164, allocations: 3.906 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/1.164, allocations: 114.1 kB / 0.9529 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.164, allocations: 192 / 0.9529 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.164, allocations: 12.94 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.164, allocations: 2 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/1.165, allocations: 95 kB / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/1.165, allocations: 482.1 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/1.166, allocations: 132 kB / 0.9536 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/1.166, allocations: 57.91 kB / 0.9536 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/1.166, allocations: 1.312 kB / 0.9536 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/1.166, allocations: 43.88 kB / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/1.166, allocations: 0 / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006198/1.167, allocations: 180.8 kB / 0.9538 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.167, allocations: 78.23 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/1.167, allocations: 172 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/1.167, allocations: 30.8 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/1.167, allocations: 108.6 kB / 0.9542 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/1.167, allocations: 35.27 kB / 0.9542 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/1.167, allocations: 20.94 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.802e-05/1.167, allocations: 326.1 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/1.167, allocations: 46.59 kB / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/1.168, allocations: 62.8 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/1.168, allocations: 102.7 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.168, allocations: 1.062 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003585/1.168, allocations: 141.7 kB / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.168, allocations: 8.375 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.168, allocations: 1.438 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.168, allocations: 5.391 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.168, allocations: 20.64 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.169, allocations: 1.188 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/1.169, allocations: 19.02 kB / 0.955 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/1.169, allocations: 14.38 kB / 0.955 GB, free: 4.629 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 9.383e-05/1.169, allocations: 115.6 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/1.169, allocations: 15.44 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/1.169, allocations: 156.4 kB / 0.9553 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.169, allocations: 6.109 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.169, allocations: 1.719 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.169, allocations: 0 / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/1.17, allocations: 219.1 kB / 0.9555 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.17, allocations: 9.125 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/1.17, allocations: 23.8 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.17, allocations: 1.312 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/1.17, allocations: 1.5 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.17, allocations: 1.344 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.17, allocations: 0 / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/1.17, allocations: 316.6 kB / 0.9558 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/1.17, allocations: 93.27 kB / 0.9559 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/1.17, allocations: 1.344 kB / 0.9559 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/1.17, allocations: 8.828 kB / 0.9559 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/1.171, allocations: 11.64 kB / 0.9559 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/1.171, allocations: 6.688 kB / 0.9559 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.042e-05/1.171, allocations: 126.8 kB / 0.956 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.171, allocations: 0 / 0.956 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002917/1.171, allocations: 43.44 kB / 0.9561 GB, free: 3.648 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.0001327/1.171, allocations: 93.66 kB / 0.9562 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003926/1.171, allocations: 106.8 kB / 0.9563 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.171, allocations: 0 / 0.9563 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/1.172, allocations: 59.31 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/1.172, allocations: 44.88 kB / 0.9564 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/1.173, allocations: 239.3 kB / 0.9566 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/1.173, allocations: 0.7012 MB / 0.9573 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.614e-05/1.173, allocations: 15.52 kB / 0.9573 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/1.173, allocations: 14.25 kB / 0.9573 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of SimCode: time 4.5e-07/1.173, allocations: 0 / 0.9573 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of Templates: time 0.005859/1.179, allocations: 2.101 MB / 0.9594 GB, free: 1.512 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