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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001124/0.001124, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.01063/0.01063, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.111/3.111, allocations: 462.6 MB / 0.7363 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005254/0.0005255, allocations: 16.34 kB / 0.9027 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4941, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002536/0.4967, allocations: 1.548 MB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003216/0.4971, allocations: 119.6 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4972, allocations: 0 / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.4973, allocations: 11.86 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.4975, allocations: 51.61 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.4976, allocations: 27.97 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.4979, allocations: 167.1 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.498, allocations: 21.12 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.4981, allocations: 47.78 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.4983, allocations: 59.77 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.4983, allocations: 4 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.583e-05/0.4983, allocations: 4 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.4984, allocations: 23.89 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.4985, allocations: 85.38 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.4987, allocations: 119.8 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4987, allocations: 0 / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4987, allocations: 0 / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4987, allocations: 4 kB / 1.061 GB, free: 2.668 MB / 0.8106 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.0008457/0.4996, allocations: 443 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/0.4997, allocations: 15.97 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.4997, allocations: 20.75 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.5001, allocations: 200 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.5001, allocations: 8.375 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.5001, allocations: 4.375 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.5005, allocations: 131.9 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5005, allocations: 192 / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.5005, allocations: 3.938 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5005, allocations: 4 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.5009, allocations: 111.9 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000838/0.5017, allocations: 476.6 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.5022, allocations: 133.2 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.5024, allocations: 69.78 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.5024, allocations: 0 / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.5024, allocations: 46.48 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.5024, allocations: 0 / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006304/0.5031, allocations: 201.6 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.5031, allocations: 77.11 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.5033, allocations: 171.9 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.5034, allocations: 25.7 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.5035, allocations: 112 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.5035, allocations: 35.53 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.5036, allocations: 21.66 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5037, allocations: 326.8 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.5039, allocations: 51.97 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.5041, allocations: 65.67 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.5044, allocations: 121.5 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5044, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003589/0.5047, allocations: 157.5 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5048, allocations: 9.719 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5048, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.5048, allocations: 8.344 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.505, allocations: 31.92 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.505, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.5051, allocations: 19.98 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.5051, allocations: 7.938 kB / 1.064 GB, free: 15.36 MB / 0.8262 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.0001203/0.5053, allocations: 119.8 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.5053, allocations: 15.81 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.5058, allocations: 170.5 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5058, allocations: 3.984 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5058, allocations: 0 / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5058, allocations: 0 / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.5061, allocations: 225.5 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5061, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.5063, allocations: 31.92 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5063, allocations: 0 / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.5063, allocations: 4 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5063, allocations: 0 / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5063, allocations: 0 / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.5068, allocations: 334.5 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.5068, allocations: 85.02 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.5069, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.507, allocations: 20.27 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.5071, allocations: 7.984 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.5071, allocations: 7.938 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001043/0.5072, allocations: 136.2 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5072, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002847/0.5075, allocations: 24 kB / 1.065 GB, free: 14.1 MB / 0.8262 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.0001301/0.5077, allocations: 99.25 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.5081, allocations: 119.9 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5081, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.5082, allocations: 63.91 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.5088, allocations: 42.25 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.5093, allocations: 268 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.5097, allocations: 0.7048 MB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.223e-05/0.5098, allocations: 20.77 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.5099, allocations: 11.44 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of SimCode: time 9.92e-07/0.5099, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of Templates: time 0.005119/0.515, allocations: 1.912 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches