Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 65.27 kB / 1.117 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3596, allocations: 169.9 MB / 1.283 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00231/0.3619, allocations: 0.822 MB / 1.284 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3636, allocations: 1.199 MB / 1.285 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.3637, allocations: 0 / 1.285 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3637, allocations: 3.938 kB / 1.285 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.436e-05/0.3638, allocations: 11.86 kB / 1.285 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.3643, allocations: 147 kB / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.3646, allocations: 139.8 kB / 1.286 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3647, allocations: 31.91 kB / 1.286 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3648, allocations: 55.84 kB / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3649, allocations: 63.73 kB / 1.286 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.365, allocations: 16 kB / 1.286 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.365, allocations: 27.98 kB / 1.286 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.3651, allocations: 15.94 kB / 1.286 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.3651, allocations: 55.77 kB / 1.286 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.3654, allocations: 151.8 kB / 1.286 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3654, allocations: 4 kB / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3654, allocations: 0 / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3654, allocations: 3.938 kB / 1.286 GB, free: 1.082 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006364/0.366, allocations: 359.8 kB / 1.286 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3661, allocations: 8.031 kB / 1.286 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.3661, allocations: 38.75 kB / 1.286 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3662, allocations: 8.891 kB / 1.286 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3663, allocations: 126.4 kB / 1.287 GB, free: 496 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3663, allocations: 8.375 kB / 1.287 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3663, allocations: 12.38 kB / 1.287 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.3665, allocations: 77.97 kB / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.3665, allocations: 0 / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3666, allocations: 15.92 kB / 1.287 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3666, allocations: 0 / 1.287 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.3668, allocations: 60.89 kB / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.3673, allocations: 351.8 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.3675, allocations: 58.47 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.3676, allocations: 32.92 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.3676, allocations: 4 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.3679, allocations: 79.38 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3679, allocations: 0 / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004082/0.3683, allocations: 129.5 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3683, allocations: 55.41 kB / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3684, allocations: 125.7 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.3685, allocations: 37.7 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.3685, allocations: 104 kB / 1.288 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.3685, allocations: 11.89 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.3686, allocations: 37.7 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3688, allocations: 314.8 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.3689, allocations: 51.97 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3691, allocations: 83.39 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.3693, allocations: 116.4 kB / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3693, allocations: 0 / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004281/0.3698, allocations: 207.3 kB / 1.288 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.3698, allocations: 37.69 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3698, allocations: 4 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3698, allocations: 0 / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.3699, allocations: 4 kB / 1.288 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3699, allocations: 12 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.3701, allocations: 39.91 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3702, allocations: 12.14 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.000109/0.3703, allocations: 129.7 kB / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.3703, allocations: 0 / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.3703, allocations: 16.36 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3703, allocations: 3.938 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3703, allocations: 3.938 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3703, allocations: 0 / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.3705, allocations: 156.7 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3705, allocations: 4 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.3705, allocations: 11.98 kB / 1.289 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3705, allocations: 0 / 1.289 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.3705, allocations: 0 / 1.289 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3705, allocations: 0 / 1.289 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.3706, allocations: 7.922 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3708, allocations: 121 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.3708, allocations: 7.953 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3709, allocations: 11.98 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.3709, allocations: 7.984 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.371, allocations: 15.92 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.371, allocations: 4 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.371, allocations: 91.27 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.371, allocations: 0 / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000233/0.3713, allocations: 27.89 kB / 1.289 GB, free: 13.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006557/0.3719, allocations: 0.6672 MB / 1.29 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.3723, allocations: 151.3 kB / 1.29 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3723, allocations: 4.125 kB / 1.29 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3724, allocations: 39.91 kB / 1.29 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.3727, allocations: 11.94 kB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.3748, allocations: 1.61 MB / 1.292 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3751, allocations: 0.6962 MB / 1.292 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.3752, allocations: 4 kB / 1.292 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.3752, allocations: 31.42 kB / 1.292 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/0.3752, allocations: 3.938 kB / 1.292 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.4049, allocations: 2.933 MB / 1.295 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.76, allocations: 1.719 kB / 1.295 GB, free: 7.434 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conEquSta.TBoi in file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.TBoi from file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onSys in file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onSys from file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onPum in file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onPum from file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onBoi in file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onBoi from file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.449553231999744]