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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001001/0.001002, allocations: 97.8 kB / 15.36 MB, free: 0.7305 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.001058/0.001058, allocations: 173.2 kB / 16.27 MB, free: 6.664 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8.281 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5729, allocations: 142.4 MB / 0.9552 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001462/0.5744, allocations: 1.529 MB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.5746, allocations: 117.6 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.5747, allocations: 9.344 kB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.697e-05/0.5748, allocations: 7.922 kB / 0.9568 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/0.5749, allocations: 45.98 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.117e-05/0.575, allocations: 28.16 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.5751, allocations: 168.6 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.5752, allocations: 27.11 kB / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.5753, allocations: 50.25 kB / 0.9571 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.5754, allocations: 64.22 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.5754, allocations: 4.125 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.5754, allocations: 4.188 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.5755, allocations: 23.25 kB / 0.9572 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.5755, allocations: 84.84 kB / 0.9573 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.5756, allocations: 118.4 kB / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5757, allocations: 0 / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5757, allocations: 0 / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.5757, allocations: 1.344 kB / 0.9574 GB, free: 5.961 MB / 0.7169 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.0005614/0.5762, allocations: 444.8 kB / 0.9578 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.5763, allocations: 9.5 kB / 0.9578 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.5763, allocations: 40.98 kB / 0.9578 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.5763, allocations: 14.88 kB / 0.9579 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.5765, allocations: 208.8 kB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.5765, allocations: 2.875 kB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.5765, allocations: 10.31 kB / 0.9581 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.5768, allocations: 129.1 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.5768, allocations: 3.938 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5768, allocations: 1.156 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5768, allocations: 1.562 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.5772, allocations: 117 kB / 0.9583 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.5777, allocations: 472.6 kB / 0.9588 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.578, allocations: 139 kB / 0.9589 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.5782, allocations: 73.22 kB / 0.959 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.5782, allocations: 0 / 0.959 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.5783, allocations: 32.47 kB / 0.959 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 8.21e-07/0.5783, allocations: 0 / 0.959 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005423/0.5788, allocations: 212.7 kB / 0.9592 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.5788, allocations: 79.48 kB / 0.9593 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5789, allocations: 174.4 kB / 0.9594 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.579, allocations: 31.08 kB / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.579, allocations: 104.2 kB / 0.9596 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.579, allocations: 35.73 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.5791, allocations: 16.47 kB / 0.9596 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.5791, allocations: 325.5 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.5793, allocations: 54.22 kB / 0.96 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.5794, allocations: 61.31 kB / 0.96 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.5797, allocations: 120.9 kB / 0.9602 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5797, allocations: 0 / 0.9602 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003289/0.58, allocations: 164.1 kB / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.58, allocations: 4.125 kB / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.58, allocations: 1.375 kB / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.5801, allocations: 1.375 kB / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.5802, allocations: 32.55 kB / 0.9604 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5802, allocations: 5.359 kB / 0.9604 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.5804, allocations: 21.41 kB / 0.9604 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.5804, allocations: 2.75 kB / 0.9604 GB, free: 3.371 MB / 0.7169 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 6.245e-05/0.5804, allocations: 123.9 kB / 0.9605 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.5805, allocations: 10.78 kB / 0.9605 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.5809, allocations: 177.9 kB / 0.9607 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5809, allocations: 1.375 kB / 0.9607 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.5809, allocations: 5.375 kB / 0.9607 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5809, allocations: 5.312 kB / 0.9607 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.5811, allocations: 218.8 kB / 0.9609 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5812, allocations: 1.219 kB / 0.9609 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.5813, allocations: 23.39 kB / 0.9609 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5813, allocations: 1.312 kB / 0.9609 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.5813, allocations: 0.9062 kB / 0.9609 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5813, allocations: 0.9375 kB / 0.9609 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5813, allocations: 4.781 kB / 0.9609 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.5817, allocations: 334.7 kB / 0.9612 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.5817, allocations: 88.67 kB / 0.9613 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.5818, allocations: 9.531 kB / 0.9613 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.582, allocations: 16.23 kB / 0.9614 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.582, allocations: 11.95 kB / 0.9614 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.582, allocations: 1.969 kB / 0.9614 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.244e-05/0.5821, allocations: 131.7 kB / 0.9615 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5821, allocations: 0 / 0.9615 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000285/0.5824, allocations: 37.28 kB / 0.9615 GB, free: 2.375 MB / 0.7169 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.0005036/0.5829, allocations: 0.8539 MB / 0.9624 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.5832, allocations: 124.2 kB / 0.9625 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5833, allocations: 0 / 0.9625 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.5834, allocations: 62.66 kB / 0.9625 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.5839, allocations: 43.02 kB / 0.9626 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.5857, allocations: 1.888 MB / 0.9644 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.586, allocations: 0.706 MB / 0.9651 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.799e-05/0.5861, allocations: 11.5 kB / 0.9651 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.5862, allocations: 33.67 kB / 0.9652 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5862, allocations: 0 / 0.9652 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.5985, allocations: 3.239 MB / 0.9683 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.5987, allocations: 216 kB / 0.9685 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.476, allocations: 2.25 kB / 0.9685 GB, free: 13.38 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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