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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001392/0.001392, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4664, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002324/0.4687, allocations: 1.889 MB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002066/0.469, allocations: 119.6 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.469, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.244e-05/0.4691, allocations: 11.92 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.4692, allocations: 47.55 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.2e-05/0.4693, allocations: 31.97 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.4695, allocations: 159.2 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.4696, allocations: 21.12 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.4696, allocations: 55.78 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.4697, allocations: 71.67 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.4697, allocations: 4 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.518e-05/0.4698, allocations: 8 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.4698, allocations: 11.92 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.4699, allocations: 67.66 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.47, allocations: 125.8 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.47, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.71e-07/0.47, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.47, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 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.000659/0.4707, allocations: 443 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.4707, allocations: 19.97 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.4707, allocations: 38.73 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.4708, allocations: 16.75 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.471, allocations: 213.5 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.471, allocations: 4.375 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.471, allocations: 8.375 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.4712, allocations: 111.9 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4713, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4713, allocations: 12 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4713, allocations: 3.984 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.4716, allocations: 91.88 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.4722, allocations: 480.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.4725, allocations: 129.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.4726, allocations: 65.78 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4727, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4727, allocations: 34.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.4727, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000492/0.4732, allocations: 173.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.4732, allocations: 89.05 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4734, allocations: 166.9 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.4734, allocations: 29.7 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.4735, allocations: 104 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.4735, allocations: 31.55 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.4735, allocations: 25.72 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.4736, allocations: 326.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4738, allocations: 43.97 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.4739, allocations: 61.67 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.4742, allocations: 101.9 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4742, allocations: 3.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003099/0.4745, allocations: 149.5 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4745, allocations: 5.562 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4745, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.4745, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.4747, allocations: 27.91 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4747, allocations: 4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4748, allocations: 16.05 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.4748, allocations: 8 kB / 1.022 GB, free: 12.88 MB / 0.7794 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 7.731e-05/0.4749, allocations: 122.3 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.475, allocations: 15.81 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.4753, allocations: 150.5 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.4753, allocations: 4 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4753, allocations: 7.984 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4754, allocations: 3.938 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.4756, allocations: 217.6 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4756, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.4758, allocations: 23.92 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4758, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.4758, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4758, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4758, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.4761, allocations: 318.5 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.4762, allocations: 85.02 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4762, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.4764, allocations: 12.17 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.4764, allocations: 20.16 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4765, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.901e-05/0.4765, allocations: 125.2 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4766, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002641/0.4768, allocations: 27.94 kB / 1.023 GB, free: 11.66 MB / 0.7794 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.0005736/0.4774, allocations: 0.8521 MB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.4777, allocations: 99.88 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4777, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4779, allocations: 55.91 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.4783, allocations: 51.97 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4801, allocations: 1.857 MB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.4803, allocations: 0.7048 MB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.564e-05/0.4804, allocations: 8.656 kB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.4805, allocations: 35.42 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.4805, allocations: 0 / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6761/1.157, allocations: 3.322 MB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.157, allocations: 212.9 kB / 1.03 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.92, allocations: 0 / 1.03 GB, free: 4.469 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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