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.01057/0.01057, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.002009/0.002009, allocations: 198.5 kB / 16.68 MB, free: 5.953 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.88 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32/1.322, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.006075/1.329, allocations: 1.821 MB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005527/1.329, allocations: 123.1 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/1.329, allocations: 1.125 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/1.33, allocations: 17.67 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/1.33, allocations: 44.39 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/1.33, allocations: 32.61 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004345/1.33, allocations: 172.4 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/1.331, allocations: 35.27 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/1.331, allocations: 53.31 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/1.331, allocations: 67.22 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/1.331, allocations: 14.12 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/1.331, allocations: 9.156 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/1.331, allocations: 22.11 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/1.331, allocations: 60.7 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/1.332, allocations: 133.9 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/1.332, allocations: 1.094 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.016e-06/1.332, allocations: 0 / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.122e-05/1.332, allocations: 0 / 1.09 GB, free: 3.84 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.001293/1.333, allocations: 455.6 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.245e-05/1.333, allocations: 13.78 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.598e-05/1.333, allocations: 15.95 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/1.334, allocations: 201.2 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/1.334, allocations: 11.92 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/1.334, allocations: 4.844 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/1.334, allocations: 122.1 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.334, allocations: 1.281 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/1.334, allocations: 9.062 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.334, allocations: 1 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/1.335, allocations: 93.78 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/1.336, allocations: 483.9 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/1.336, allocations: 127.9 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/1.337, allocations: 58.12 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/1.337, allocations: 10.83 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.337, allocations: 32.14 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/1.337, allocations: 0.75 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0007873/1.338, allocations: 177.9 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/1.338, allocations: 79.19 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/1.338, allocations: 173.7 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/1.338, allocations: 26.55 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.338, allocations: 109.4 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/1.338, allocations: 29.98 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/1.338, allocations: 21.39 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.338, allocations: 329.1 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/1.339, allocations: 39.41 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/1.339, allocations: 64.36 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/1.339, allocations: 101.7 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.339, allocations: 0 / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004527/1.34, allocations: 149.4 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/1.34, allocations: 6.047 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.34, allocations: 0.875 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.34, allocations: 1.469 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/1.34, allocations: 25.86 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.34, allocations: 6.797 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/1.34, allocations: 16.66 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/1.34, allocations: 7.406 kB / 1.093 GB, free: 1.539 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 0.0001344/1.34, allocations: 122.5 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/1.34, allocations: 18.47 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005725/1.341, allocations: 160.5 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/1.341, allocations: 4.781 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.341, allocations: 0.8906 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/1.341, allocations: 2.359 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/1.341, allocations: 224 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.341, allocations: 5.734 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/1.342, allocations: 24.25 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.342, allocations: 0.875 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/1.342, allocations: 1.734 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.342, allocations: 1.094 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.342, allocations: 0.8438 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/1.342, allocations: 318.9 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/1.342, allocations: 85.64 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/1.342, allocations: 2.062 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/1.342, allocations: 12.06 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/1.343, allocations: 7.188 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/1.343, allocations: 6.094 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001497/1.343, allocations: 131.3 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.343, allocations: 0 / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003419/1.343, allocations: 33.09 kB / 1.094 GB, free: 0.6367 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.0002118/1.343, allocations: 105.1 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004896/1.344, allocations: 99.27 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.344, allocations: 0 / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/1.344, allocations: 56.28 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/1.345, allocations: 45.2 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/1.345, allocations: 236.2 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/1.346, allocations: 0.7025 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001066/1.346, allocations: 13.27 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/1.346, allocations: 14.7 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.346, allocations: 0 / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.007943/1.354, allocations: 2.101 MB / 1.098 GB, free: 15.45 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/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