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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 196.2 kB / 16.53 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.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.42/2.42, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7464, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002704/0.7491, allocations: 1.821 MB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000263/0.7494, allocations: 119.1 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.7495, allocations: 1 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.7496, allocations: 19.8 kB / 0.9516 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.221e-05/0.7497, allocations: 54.23 kB / 0.9517 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.7499, allocations: 31.64 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.7501, allocations: 169.8 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.7502, allocations: 28.58 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.7503, allocations: 54.66 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.7504, allocations: 72.03 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.7505, allocations: 9.969 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.339e-05/0.7505, allocations: 9.812 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.7505, allocations: 26.06 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.7506, allocations: 71.03 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.7508, allocations: 117.1 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7508, allocations: 4 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7508, allocations: 0 / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.7508, allocations: 0 / 0.9522 GB, free: 7.211 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.0006883/0.7515, allocations: 448.9 kB / 0.9527 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.7515, allocations: 9.125 kB / 0.9527 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.7516, allocations: 42.39 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.7516, allocations: 19.22 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.7518, allocations: 208.3 kB / 0.9529 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.7518, allocations: 7 kB / 0.9529 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.7518, allocations: 8.594 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.7521, allocations: 119.8 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7521, allocations: 8.969 kB / 0.9531 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.7521, allocations: 4 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7522, allocations: 6.375 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.7524, allocations: 90.91 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.753, allocations: 470 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.7534, allocations: 128.3 kB / 0.9537 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.7536, allocations: 65.95 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.7536, allocations: 5.5 kB / 0.9538 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.7536, allocations: 32.06 kB / 0.9538 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.7536, allocations: 0 / 0.9538 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000542/0.7542, allocations: 185 kB / 0.954 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.7542, allocations: 77.92 kB / 0.9541 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.7543, allocations: 176.9 kB / 0.9542 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.7543, allocations: 29.7 kB / 0.9543 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.7544, allocations: 110 kB / 0.9544 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.7544, allocations: 30.83 kB / 0.9544 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.7545, allocations: 23.88 kB / 0.9544 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.7545, allocations: 326.8 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.7547, allocations: 42 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.7548, allocations: 63.61 kB / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.7551, allocations: 99.08 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7551, allocations: 5.281 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003166/0.7554, allocations: 141.2 kB / 0.9551 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7554, allocations: 5.344 kB / 0.9551 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.7554, allocations: 0 / 0.9551 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7554, allocations: 1.812 kB / 0.9551 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.7556, allocations: 32.47 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7556, allocations: 1.188 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.7557, allocations: 22.95 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.7557, allocations: 2.156 kB / 0.9551 GB, free: 4.617 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.544e-05/0.7558, allocations: 123.8 kB / 0.9553 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.7559, allocations: 15.19 kB / 0.9553 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.7562, allocations: 154 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7563, allocations: 7.781 kB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7563, allocations: 0 / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7563, allocations: 12.11 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.7565, allocations: 214.4 kB / 0.9556 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7565, allocations: 3.938 kB / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.7567, allocations: 20.73 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7567, allocations: 1.094 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.7567, allocations: 1.25 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7567, allocations: 5.031 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7567, allocations: 5 kB / 0.9557 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.7571, allocations: 316.3 kB / 0.956 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.7571, allocations: 88.61 kB / 0.9561 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.7571, allocations: 2.188 kB / 0.9561 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.7573, allocations: 12.55 kB / 0.9561 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.7574, allocations: 11.67 kB / 0.9561 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.7574, allocations: 2.406 kB / 0.9561 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.7575, allocations: 133.8 kB / 0.9562 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7575, allocations: 0 / 0.9562 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002977/0.7578, allocations: 33.34 kB / 0.9563 GB, free: 3.629 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.0005001/0.7583, allocations: 0.842 MB / 0.9571 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.7586, allocations: 105.8 kB / 0.9572 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7586, allocations: 0 / 0.9572 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.7588, allocations: 55.22 kB / 0.9572 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.7592, allocations: 52.67 kB / 0.9573 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.761, allocations: 1.817 MB / 0.9591 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.7612, allocations: 0.7064 MB / 0.9597 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.727e-05/0.7613, allocations: 10.16 kB / 0.9598 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.7613, allocations: 38.3 kB / 0.9598 GB, free: 424 kB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7613, allocations: 0 / 0.9598 GB, free: 424 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.781, allocations: 3.584 MB / 0.9633 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/7.994, allocations: 11.42 kB / 0.9633 GB, free: 14.61 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