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.001396/0.001396, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001569/0.00157, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.487/2.487, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6793, allocations: 140.4 MB / 0.9492 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002482/0.6819, allocations: 1.887 MB / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.6821, allocations: 114.5 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.6822, allocations: 1.688 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.6823, allocations: 11.86 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.6824, allocations: 46.14 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.6825, allocations: 27.53 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.6827, allocations: 178.8 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.6828, allocations: 28.03 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.6829, allocations: 54.47 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.718e-05/0.683, allocations: 71.72 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.683, allocations: 9.875 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.633e-05/0.683, allocations: 9.594 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.6831, allocations: 26.91 kB / 0.9516 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.6831, allocations: 67.16 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.6833, allocations: 120 kB / 0.9518 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6833, allocations: 1.375 kB / 0.9518 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6833, allocations: 0 / 0.9518 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.6833, allocations: 0 / 0.9518 GB, free: 7.148 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.0006547/0.6839, allocations: 452.5 kB / 0.9522 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.684, allocations: 13.28 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.684, allocations: 40.98 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.6841, allocations: 15.75 kB / 0.9523 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.6842, allocations: 213.7 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.6842, allocations: 2.844 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.6843, allocations: 8.688 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.6845, allocations: 119.4 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.6845, allocations: 3.938 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6845, allocations: 1.031 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6846, allocations: 6.156 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.6849, allocations: 94.8 kB / 0.9527 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.6854, allocations: 474.4 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.6858, allocations: 122.6 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.6859, allocations: 71.03 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.686, allocations: 5.469 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.686, allocations: 31.97 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.686, allocations: 0 / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005345/0.6865, allocations: 184.6 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.6866, allocations: 78.33 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.6867, allocations: 171.6 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.6867, allocations: 29.7 kB / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.6867, allocations: 105.8 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.6868, allocations: 31.61 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.6868, allocations: 24.28 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.6869, allocations: 337.4 kB / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.687, allocations: 38.5 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.6872, allocations: 59.19 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.6874, allocations: 108.6 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6874, allocations: 0 / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003242/0.6878, allocations: 145 kB / 0.9547 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6878, allocations: 7.656 kB / 0.9547 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.6878, allocations: 0 / 0.9547 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6878, allocations: 1.344 kB / 0.9547 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.688, allocations: 25.45 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.688, allocations: 1.469 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.6881, allocations: 26.08 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.6881, allocations: 5.5 kB / 0.9547 GB, free: 4.547 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.468e-05/0.6882, allocations: 125.2 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.6883, allocations: 14.91 kB / 0.9548 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.6887, allocations: 160.8 kB / 0.955 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6887, allocations: 1.594 kB / 0.955 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6887, allocations: 5.5 kB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6887, allocations: 3.938 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.6889, allocations: 212.5 kB / 0.9552 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6889, allocations: 0 / 0.9552 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.6891, allocations: 23.8 kB / 0.9552 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6891, allocations: 1.312 kB / 0.9552 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.6891, allocations: 5.594 kB / 0.9552 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6891, allocations: 1.281 kB / 0.9552 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6891, allocations: 11.92 kB / 0.9553 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.6894, allocations: 313.2 kB / 0.9556 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.6895, allocations: 84.48 kB / 0.9556 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.6895, allocations: 2.5 kB / 0.9556 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.6897, allocations: 16.23 kB / 0.9557 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.6897, allocations: 12.27 kB / 0.9557 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.6898, allocations: 2.844 kB / 0.9557 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.6898, allocations: 131 kB / 0.9558 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6898, allocations: 0 / 0.9558 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002898/0.6901, allocations: 29.25 kB / 0.9558 GB, free: 3.566 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.000483/0.6906, allocations: 0.8484 MB / 0.9567 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.6909, allocations: 107.2 kB / 0.9568 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.691, allocations: 0 / 0.9568 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.6911, allocations: 59.17 kB / 0.9568 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.6916, allocations: 46.94 kB / 0.9569 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.6933, allocations: 1.846 MB / 0.9587 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.6934, allocations: 0.7018 MB / 0.9593 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.57e-05/0.6935, allocations: 11.09 kB / 0.9594 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.6936, allocations: 42.61 kB / 0.9594 GB, free: 320 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6936, allocations: 0 / 0.9594 GB, free: 320 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05995/0.7536, allocations: 3.423 MB / 0.9627 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.7538, allocations: 217.7 kB / 0.9629 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.623, allocations: 0 / 0.9629 GB, free: 14.43 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