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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001292/0.001292, allocations: 111.8 kB / 16.42 MB, free: 6.02 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.001217/0.001217, allocations: 192.5 kB / 17.35 MB, free: 5.633 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.816/1.816, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.686/3.686, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 59.91 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944/1.946, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.008085/1.954, allocations: 1.834 MB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009329/1.955, allocations: 115.6 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/1.956, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003069/1.956, allocations: 19.8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/1.956, allocations: 51.55 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/1.957, allocations: 35.95 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005901/1.957, allocations: 167.1 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/1.958, allocations: 29.11 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/1.958, allocations: 59.78 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/1.958, allocations: 63.75 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/1.958, allocations: 8 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-05/1.959, allocations: 15.94 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/1.959, allocations: 23.91 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/1.959, allocations: 63.67 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004299/1.959, allocations: 135.3 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/1.959, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.49e-06/1.959, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.815e-05/1.959, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 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.001783/1.961, allocations: 448.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001085/1.961, allocations: 8.031 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/1.961, allocations: 16.84 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005858/1.962, allocations: 209.6 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/1.962, allocations: 8.375 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/1.962, allocations: 4.375 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/1.963, allocations: 117.2 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.963, allocations: 192 / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/1.963, allocations: 11.94 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.963, allocations: 4 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/1.963, allocations: 91.92 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/1.965, allocations: 480.5 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/1.966, allocations: 133.2 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/1.966, allocations: 57.78 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/1.966, allocations: 7.984 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/1.966, allocations: 34.56 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 2.384e-06/1.966, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.001069/1.967, allocations: 181.4 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/1.967, allocations: 85.05 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/1.967, allocations: 180.1 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/1.967, allocations: 25.7 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.968, allocations: 104.1 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/1.968, allocations: 27.56 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/1.968, allocations: 25.7 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002369/1.968, allocations: 326.7 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/1.968, allocations: 43.97 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/1.969, allocations: 61.69 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/1.969, allocations: 97.86 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.969, allocations: 0 / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006395/1.97, allocations: 157.3 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/1.97, allocations: 6.188 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.97, allocations: 4 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/1.97, allocations: 0 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/1.97, allocations: 19.98 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/1.97, allocations: 0 / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/1.971, allocations: 23.77 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/1.971, allocations: 8 kB / 1.214 GB, free: 7.855 MB / 0.9356 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.0001955/1.971, allocations: 121.8 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/1.971, allocations: 11.91 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007497/1.972, allocations: 154.9 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.972, allocations: 0 / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.972, allocations: 8.062 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/1.972, allocations: 88.92 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/1.972, allocations: 11.94 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/1.972, allocations: 7.984 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/1.972, allocations: 11.98 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008328/1.973, allocations: 292.1 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00078/1.974, allocations: 393.8 kB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002978/1.974, allocations: 43.97 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001834/1.975, allocations: 127.2 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of Backend: time 1.502e-06/1.975, allocations: 0 / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.976, allocations: 142.3 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of SimCode: time 0.00127/1.977, allocations: 0.6759 MB / 1.216 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.01051/1.987, allocations: 2.328 MB / 1.218 GB, free: 3.391 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches