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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001723/0.001723, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001921/0.001921, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.7 MB / 0.746 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 64.06 kB / 1.07 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257/1.259, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003767/1.263, allocations: 1.83 MB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005393/1.263, allocations: 119.6 kB / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/1.263, allocations: 0 / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/1.264, allocations: 19.8 kB / 1.228 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/1.264, allocations: 51.56 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/1.264, allocations: 31.95 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/1.264, allocations: 171.1 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/1.264, allocations: 29.11 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/1.264, allocations: 55.84 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/1.265, allocations: 63.7 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/1.265, allocations: 8 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.269e-05/1.265, allocations: 12 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/1.265, allocations: 23.91 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/1.265, allocations: 71.59 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/1.265, allocations: 132 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.265, allocations: 4 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.664e-06/1.265, allocations: 0 / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.906e-06/1.265, allocations: 0 / 1.229 GB, free: 10.94 MB / 0.9512 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.0008686/1.266, allocations: 454.7 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.266, allocations: 8.031 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/1.266, allocations: 16.84 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/1.266, allocations: 209.5 kB / 1.23 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.266, allocations: 4.375 kB / 1.23 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/1.266, allocations: 8.375 kB / 1.23 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/1.267, allocations: 118.4 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.267, allocations: 4.188 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/1.267, allocations: 7.938 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.267, allocations: 0 / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/1.267, allocations: 95.92 kB / 1.23 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/1.268, allocations: 476.6 kB / 1.23 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/1.268, allocations: 137.2 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/1.269, allocations: 61.77 kB / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/1.269, allocations: 0 / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/1.269, allocations: 42.56 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/1.269, allocations: 0 / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0006022/1.269, allocations: 173.5 kB / 1.231 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/1.269, allocations: 77.11 kB / 1.231 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/1.27, allocations: 174.4 kB / 1.231 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.27, allocations: 29.7 kB / 1.231 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/1.27, allocations: 108.1 kB / 1.231 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/1.27, allocations: 31.81 kB / 1.231 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/1.27, allocations: 25.7 kB / 1.231 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.27, allocations: 326.8 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/1.27, allocations: 47.84 kB / 1.231 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/1.27, allocations: 61.69 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/1.27, allocations: 97.92 kB / 1.232 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.27, allocations: 4 kB / 1.232 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003574/1.271, allocations: 149.7 kB / 1.232 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.271, allocations: 13.72 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.271, allocations: 3.938 kB / 1.232 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.271, allocations: 0 / 1.232 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/1.271, allocations: 19.98 kB / 1.232 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.271, allocations: 4 kB / 1.232 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/1.271, allocations: 15.88 kB / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/1.271, allocations: 8 kB / 1.232 GB, free: 7.73 MB / 0.9512 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.0001153/1.271, allocations: 122.2 kB / 1.232 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/1.271, allocations: 15.95 kB / 1.232 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/1.272, allocations: 158.5 kB / 1.232 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/1.272, allocations: 4 kB / 1.232 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.272, allocations: 0 / 1.232 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/1.272, allocations: 85.06 kB / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/1.272, allocations: 7.938 kB / 1.232 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.272, allocations: 11.98 kB / 1.232 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/1.272, allocations: 7.984 kB / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004674/1.273, allocations: 300.1 kB / 1.232 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000457/1.273, allocations: 393.8 kB / 1.233 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001497/1.273, allocations: 47.97 kB / 1.233 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001025/1.273, allocations: 128.2 kB / 1.233 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of Backend: time 4.71e-07/1.273, allocations: 0 / 1.233 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006089/1.274, allocations: 143 kB / 1.233 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007704/1.275, allocations: 0.6861 MB / 1.234 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of Templates: time 0.00584/1.281, allocations: 2.255 MB / 1.236 GB, free: 3.316 MB / 0.9512 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