Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_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.008601/0.008602, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001603/0.001603, allocations: 206.2 kB / 16.68 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.91/2.91, allocations: 437.1 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 63.91 kB / 1.018 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4227, allocations: 151.6 MB / 1.166 GB, free: 7.504 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004067/0.4269, allocations: 1.824 MB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004981/0.4274, allocations: 115.6 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.4276, allocations: 0 / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.4278, allocations: 15.8 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.4279, allocations: 55.55 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.4281, allocations: 35.95 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.4284, allocations: 175.1 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.4286, allocations: 29.09 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.4287, allocations: 55.78 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.4289, allocations: 67.7 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.4289, allocations: 8 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.429, allocations: 12 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.429, allocations: 27.91 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.365e-05/0.4291, allocations: 63.67 kB / 1.169 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.4294, allocations: 127.7 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.4294, allocations: 4 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4294, allocations: 0 / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.4294, allocations: 0 / 1.169 GB, free: 4.883 MB / 0.92 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.0009157/0.4303, allocations: 458.7 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4304, allocations: 8.031 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/0.4304, allocations: 42.69 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.4305, allocations: 12.89 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.4309, allocations: 208.1 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4309, allocations: 4.375 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.4309, allocations: 16.34 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.4312, allocations: 117.3 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4313, allocations: 3.938 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4313, allocations: 4 kB / 1.17 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4313, allocations: 4 kB / 1.17 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.4316, allocations: 91.92 kB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.4325, allocations: 480.7 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.4329, allocations: 129.2 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.4331, allocations: 61.78 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.4331, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4331, allocations: 30.56 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.4331, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006198/0.4337, allocations: 189.5 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.4338, allocations: 85.09 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.434, allocations: 175.4 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.434, allocations: 25.7 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.4341, allocations: 108 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.4342, allocations: 31.73 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.4342, allocations: 25.72 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4344, allocations: 326.8 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4345, allocations: 43.97 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.4347, allocations: 65.56 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.435, allocations: 101.7 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.435, allocations: 4 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003664/0.4354, allocations: 145.5 kB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4354, allocations: 4 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4354, allocations: 7.938 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4354, allocations: 0 / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.4356, allocations: 19.98 kB / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.4356, allocations: 0 / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4357, allocations: 23.88 kB / 1.172 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4357, allocations: 4 kB / 1.172 GB, free: 1.617 MB / 0.92 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.0001124/0.4359, allocations: 125.8 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.4359, allocations: 11.95 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.4364, allocations: 150.9 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4364, allocations: 8 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4364, allocations: 4.062 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4364, allocations: 3.938 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.4367, allocations: 233.5 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4367, allocations: 0 / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.4369, allocations: 19.98 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4369, allocations: 0 / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4369, allocations: 0 / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.4369, allocations: 4 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4369, allocations: 0 / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.4374, allocations: 314.8 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.4374, allocations: 93.03 kB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.4375, allocations: 8 kB / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.4377, allocations: 7.984 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.4377, allocations: 11.94 kB / 1.173 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4377, allocations: 0 / 1.173 GB, free: 0.543 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001117/0.4378, allocations: 131.2 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4378, allocations: 0 / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002882/0.4381, allocations: 28 kB / 1.173 GB, free: 396 kB / 0.92 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.0007825/0.4389, allocations: 0.8446 MB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.4393, allocations: 103.9 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4393, allocations: 3.938 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.4395, allocations: 55.97 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.44, allocations: 48.27 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.4424, allocations: 1.817 MB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.4428, allocations: 0.7045 MB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.912e-05/0.4429, allocations: 12.64 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.443, allocations: 39.42 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.443, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.4651, allocations: 3.635 MB / 1.18 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.502, allocations: 7.875 kB / 1.18 GB, free: 9.16 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches