Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.001295/0.001295, allocations: 108 kB / 15.61 MB, free: 148 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.001318/0.001318, allocations: 193.6 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 68.38 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2495, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002951/0.2525, allocations: 2.05 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.2532, allocations: 442.7 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2533, allocations: 8 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.2535, allocations: 43.59 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.2536, allocations: 27.67 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.2538, allocations: 107.8 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.254, allocations: 288.5 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.2543, allocations: 152.5 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.2544, allocations: 99.66 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2545, allocations: 107.4 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.2545, allocations: 32 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.342e-05/0.2546, allocations: 36 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.2546, allocations: 59.78 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.04e-05/0.2547, allocations: 127.3 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.255, allocations: 371.1 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.255, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.255, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.255, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007318/0.2558, allocations: 0.5419 MB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2558, allocations: 8.031 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.2559, allocations: 54.73 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.2559, allocations: 28.56 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.2562, allocations: 268.8 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2562, allocations: 16.81 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.2563, allocations: 20.38 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.2567, allocations: 238 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.2567, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.2567, allocations: 12 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2568, allocations: 4 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.2572, allocations: 173 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.2582, allocations: 0.8482 MB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.2587, allocations: 186.8 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.2589, allocations: 88.81 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2589, allocations: 7.938 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.259, allocations: 42.48 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.259, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006032/0.2596, allocations: 225.5 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.2596, allocations: 81.11 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.2598, allocations: 243 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2599, allocations: 29.7 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.26, allocations: 152.2 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.26, allocations: 43.34 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.2601, allocations: 41.7 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.2601, allocations: 326.8 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.2603, allocations: 64.81 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.2605, allocations: 121 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.2609, allocations: 157.9 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2609, allocations: 4 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004315/0.2613, allocations: 205.4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2614, allocations: 9.875 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2614, allocations: 3.938 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2614, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.2616, allocations: 39.91 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2616, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.2617, allocations: 31.83 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2617, allocations: 12 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001848/0.2619, allocations: 148.1 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001488/0.2621, allocations: 97.11 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002546/0.2624, allocations: 131.4 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.2624, allocations: 4 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003326/0.2627, allocations: 187.5 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.2627, allocations: 4 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.2627, allocations: 3.984 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.2627, allocations: 11.92 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.2629, allocations: 31.92 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.2629, allocations: 0 / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.263, allocations: 27.83 kB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.263, allocations: 4 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 8.616e-05/0.2631, allocations: 194 kB / 1.072 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.2632, allocations: 15.81 kB / 1.072 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.2632, allocations: 29.33 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.2632, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2632, allocations: 4 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2632, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.2635, allocations: 297.4 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2635, allocations: 7.938 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.2637, allocations: 23.98 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2637, allocations: 4 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2637, allocations: 7.922 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2637, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2637, allocations: 4 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.2643, allocations: 351.5 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.2644, allocations: 100.9 kB / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.2644, allocations: 11.92 kB / 1.073 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2646, allocations: 11.98 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.2646, allocations: 8 kB / 1.073 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.2646, allocations: 7.984 kB / 1.073 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001347/0.2648, allocations: 164.7 kB / 1.073 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2648, allocations: 0 / 1.073 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003446/0.2651, allocations: 63.75 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (12): * Single equations (assignments): 12 * 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.000862/0.266, allocations: 0.8884 MB / 1.074 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.2666, allocations: 223.8 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2666, allocations: 0 / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.2668, allocations: 72.27 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.2672, allocations: 42.38 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.2699, allocations: 2.269 MB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.2702, allocations: 0.7402 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.432e-05/0.2703, allocations: 17.53 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2704, allocations: 63.42 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.2704, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.2896, allocations: 4.087 MB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.587, allocations: 8.812 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches