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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.004693/0.004697, allocations: 101.9 kB / 15.73 MB, free: 6.004 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.001181/0.001181, allocations: 193.4 kB / 16.67 MB, free: 5.922 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.645/2.645, allocations: 469.4 MB / 0.7421 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7268, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003306/0.7302, allocations: 2.041 MB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.7311, allocations: 442.7 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.7313, allocations: 4 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.7315, allocations: 43.59 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.7317, allocations: 39.66 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.732, allocations: 103.8 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.7323, allocations: 284.4 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.7326, allocations: 160.5 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.7327, allocations: 95.64 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.7328, allocations: 107.4 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.7329, allocations: 32 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.633e-05/0.7329, allocations: 32 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.733, allocations: 67.81 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.7331, allocations: 127.3 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.7335, allocations: 386.2 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.7335, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7335, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.7335, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 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.00088/0.7344, allocations: 0.5455 MB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7345, allocations: 16.62 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.949e-05/0.7345, allocations: 50.73 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.7346, allocations: 24.8 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.735, allocations: 277.5 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.735, allocations: 16.81 kB / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.735, allocations: 20.38 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.7355, allocations: 246 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7355, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.7356, allocations: 4 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.7356, allocations: 4 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.736, allocations: 177 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.7371, allocations: 0.8523 MB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.7376, allocations: 174.8 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.7379, allocations: 96.75 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.7379, allocations: 7.938 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7379, allocations: 30.56 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.7379, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0006598/0.7386, allocations: 237.5 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.7387, allocations: 77.11 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.7389, allocations: 239.2 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.7389, allocations: 29.7 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.7391, allocations: 156.3 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.7391, allocations: 47.58 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.7392, allocations: 33.7 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7393, allocations: 330.8 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.7395, allocations: 72.75 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.7397, allocations: 107.1 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.7401, allocations: 163.3 kB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7401, allocations: 0 / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004832/0.7406, allocations: 205.4 kB / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7406, allocations: 11.98 kB / 1.228 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7406, allocations: 3.938 kB / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7407, allocations: 4 kB / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.7408, allocations: 31.92 kB / 1.228 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.7409, allocations: 4 kB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.741, allocations: 35.95 kB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.741, allocations: 4 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002154/0.7412, allocations: 160 kB / 1.228 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001574/0.7414, allocations: 89.12 kB / 1.228 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002737/0.7417, allocations: 136.9 kB / 1.228 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.7417, allocations: 0 / 1.228 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003641/0.7421, allocations: 188.4 kB / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.7421, allocations: 12.03 kB / 1.228 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.7421, allocations: 4 kB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.7421, allocations: 3.938 kB / 1.228 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.7423, allocations: 35.91 kB / 1.228 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7423, allocations: 4 kB / 1.228 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.7424, allocations: 11.98 kB / 1.228 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.7424, allocations: 8 kB / 1.228 GB, free: 9.062 MB / 0.9512 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 0.0001037/0.7425, allocations: 192.7 kB / 1.229 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.7426, allocations: 19.86 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.7426, allocations: 25.33 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7426, allocations: 7.938 kB / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7426, allocations: 0 / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7427, allocations: 0 / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.743, allocations: 305.4 kB / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.743, allocations: 0 / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.7431, allocations: 31.98 kB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7432, allocations: 0 / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.7432, allocations: 11.94 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.7432, allocations: 3.984 kB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7432, allocations: 0 / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.7438, allocations: 347.2 kB / 1.229 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.7439, allocations: 97.11 kB / 1.229 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.744, allocations: 7.938 kB / 1.229 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.7441, allocations: 15.97 kB / 1.229 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.7441, allocations: 4 kB / 1.229 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.7442, allocations: 11.98 kB / 1.229 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001646/0.7443, allocations: 164.7 kB / 1.23 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7443, allocations: 0 / 1.23 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003804/0.7447, allocations: 71.73 kB / 1.23 GB, free: 7.676 MB / 0.9512 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.0009167/0.7457, allocations: 0.8801 MB / 1.23 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005737/0.7462, allocations: 223.8 kB / 1.231 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.7462, allocations: 0 / 1.231 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.7464, allocations: 63.97 kB / 1.231 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.7468, allocations: 47.59 kB / 1.231 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.7498, allocations: 2.297 MB / 1.233 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.7501, allocations: 0.744 MB / 1.234 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.7502, allocations: 21.55 kB / 1.234 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.7503, allocations: 67.34 kB / 1.234 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.7503, allocations: 0 / 1.234 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.7714, allocations: 4.16 MB / 1.238 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/8.06, allocations: 3.938 kB / 1.238 GB, free: 15.18 MB / 0.9669 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