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.001505/0.001505, allocations: 106.6 kB / 16.41 MB, free: 6.465 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.001612/0.001612, allocations: 187 kB / 17.34 MB, free: 5.719 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.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.527/2.527, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003037/1.056, allocations: 1.821 MB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003095/1.057, allocations: 124.6 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/1.057, allocations: 1.125 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/1.057, allocations: 15.98 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/1.057, allocations: 53.48 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/1.057, allocations: 31.94 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/1.057, allocations: 172.4 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/1.057, allocations: 28.42 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/1.058, allocations: 52.28 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/1.058, allocations: 67.48 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/1.058, allocations: 13.5 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/1.058, allocations: 10.09 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/1.058, allocations: 25.67 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/1.058, allocations: 60.95 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/1.058, allocations: 125.8 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.058, allocations: 3.938 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/1.058, allocations: 5.391 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.058, allocations: 0 / 1.091 GB, free: 3.809 MB / 0.8575 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.0007604/1.059, allocations: 448.9 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.059, allocations: 10.97 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/1.059, allocations: 15.69 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/1.059, allocations: 216.1 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/1.059, allocations: 10.41 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/1.059, allocations: 5.438 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/1.06, allocations: 119.3 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.06, allocations: 1.031 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/1.06, allocations: 4.656 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.06, allocations: 5.844 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/1.06, allocations: 98.23 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/1.061, allocations: 474.6 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/1.061, allocations: 128 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/1.061, allocations: 62.88 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/1.061, allocations: 1.641 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/1.061, allocations: 41.05 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/1.062, allocations: 0 / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006434/1.062, allocations: 187 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.062, allocations: 78.7 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/1.062, allocations: 169.2 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/1.062, allocations: 30.8 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/1.062, allocations: 109.2 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/1.062, allocations: 30.06 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/1.063, allocations: 21.3 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/1.063, allocations: 329.8 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/1.063, allocations: 39.2 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/1.063, allocations: 64.45 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/1.063, allocations: 100.6 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.063, allocations: 0.7969 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003765/1.064, allocations: 146 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.064, allocations: 5.953 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.064, allocations: 4.75 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.064, allocations: 0.9062 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/1.064, allocations: 23.14 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/1.064, allocations: 4.75 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/1.064, allocations: 17.02 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/1.064, allocations: 7.609 kB / 1.094 GB, free: 1.508 MB / 0.8575 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.558e-05/1.064, allocations: 119 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/1.064, allocations: 19.08 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/1.065, allocations: 156.1 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.065, allocations: 4.938 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.065, allocations: 8.938 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.065, allocations: 1.734 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/1.065, allocations: 216.3 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.065, allocations: 0.75 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/1.065, allocations: 25 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.065, allocations: 1.531 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.065, allocations: 4.688 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.065, allocations: 2.328 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.065, allocations: 0 / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/1.066, allocations: 319 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/1.066, allocations: 85.95 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/1.066, allocations: 1.562 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/1.066, allocations: 8.688 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/1.066, allocations: 10.62 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/1.066, allocations: 6.875 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001055/1.066, allocations: 126.8 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.066, allocations: 0 / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003032/1.066, allocations: 36.56 kB / 1.095 GB, free: 0.6133 MB / 0.8575 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.000102/1.067, allocations: 101.3 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004088/1.067, allocations: 100.1 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.067, allocations: 0 / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/1.067, allocations: 55.59 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/1.068, allocations: 49.86 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/1.068, allocations: 261.5 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/1.069, allocations: 0.7072 MB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/1.069, allocations: 14.38 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/1.069, allocations: 0 / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.004655/1.073, allocations: 1.759 MB / 1.098 GB, free: 15.41 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches