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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009101/0.009101, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00202/0.00202, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.615/1.615, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.66/2.66, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 61.19 kB / 0.9503 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003347/0.3415, allocations: 1.828 MB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004154/0.3419, allocations: 123.6 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.3421, allocations: 0 / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3423, allocations: 11.86 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.3424, allocations: 55.48 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.3426, allocations: 36 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.3428, allocations: 167.1 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.343, allocations: 33.08 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.29e-05/0.3431, allocations: 59.78 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3432, allocations: 59.77 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.3432, allocations: 8 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.734e-05/0.3432, allocations: 15.94 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.3433, allocations: 31.83 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.3434, allocations: 63.67 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3436, allocations: 135.2 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3436, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3436, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3436, allocations: 0 / 1.09 GB, free: 15.43 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.0008211/0.3444, allocations: 446.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3445, allocations: 12.03 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.3445, allocations: 42.75 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.3446, allocations: 12.84 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3449, allocations: 204 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3449, allocations: 12.36 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3449, allocations: 4.375 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.3452, allocations: 115.9 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3453, allocations: 7.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3453, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.3453, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.3456, allocations: 99.86 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.3463, allocations: 472.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.3467, allocations: 121.2 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3469, allocations: 57.78 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.3469, allocations: 11.94 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.347, allocations: 38.5 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.347, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006128/0.3476, allocations: 181.4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3476, allocations: 85.11 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3478, allocations: 171.4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3478, allocations: 25.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.3479, allocations: 116 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3479, allocations: 31.55 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.348, allocations: 21.72 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3481, allocations: 326.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.3483, allocations: 43.97 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3484, allocations: 57.62 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.3487, allocations: 109.6 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3487, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000359/0.3491, allocations: 145.5 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3491, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3491, allocations: 3.938 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3492, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3493, allocations: 19.98 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3493, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3495, allocations: 19.92 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3495, allocations: 4 kB / 1.093 GB, free: 12.19 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.908e-05/0.3496, allocations: 121.8 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.3496, allocations: 11.81 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.3501, allocations: 159.1 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3501, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.088e-06/0.3501, allocations: 8.062 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3501, allocations: 7.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.3504, allocations: 221.5 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3504, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3506, allocations: 23.92 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3506, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3506, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3506, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3506, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.351, allocations: 314.4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.3511, allocations: 96.91 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3511, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.3513, allocations: 11.98 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.3514, allocations: 11.94 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3514, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001085/0.3515, allocations: 135.2 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3515, allocations: 0 / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000295/0.3518, allocations: 28 kB / 1.094 GB, free: 10.96 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.0006834/0.3525, allocations: 0.8407 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.3529, allocations: 103.9 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3529, allocations: 0 / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3531, allocations: 55.91 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3535, allocations: 48.27 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.3558, allocations: 1.822 MB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3562, allocations: 0.7045 MB / 1.097 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.574e-05/0.3563, allocations: 16.58 kB / 1.097 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.3564, allocations: 35.42 kB / 1.098 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.3564, allocations: 0 / 1.098 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.3785, allocations: 3.636 MB / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.042, allocations: 17.92 kB / 1.101 GB, free: 3.707 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/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