Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001412/0.001412, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001432/0.001432, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.24/3.24, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_12_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.002058/0.002058, allocations: 66.2 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002148/0.3595, allocations: 0.8171 MB / 1.322 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3611, allocations: 1.186 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.3612, allocations: 0 / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.3612, allocations: 7.875 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.3613, allocations: 11.88 kB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.3618, allocations: 149.8 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.362, allocations: 143.7 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3621, allocations: 23.98 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3622, allocations: 55.89 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3623, allocations: 59.8 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.3624, allocations: 12 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.3625, allocations: 27.98 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.3625, allocations: 15.94 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.3626, allocations: 59.77 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.3628, allocations: 159.7 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3628, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3628, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3628, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 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.0006899/0.3635, allocations: 428.8 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3636, allocations: 11.98 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.3636, allocations: 42.73 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.3637, allocations: 16.83 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.3638, allocations: 184.2 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.3638, allocations: 12.31 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.3639, allocations: 8.375 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3641, allocations: 84.83 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3641, allocations: 3.938 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3641, allocations: 4 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3641, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.3644, allocations: 59.95 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.365, allocations: 380.5 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3652, allocations: 50.55 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3653, allocations: 32.92 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3653, allocations: 4 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.3655, allocations: 79.31 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3655, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004513/0.366, allocations: 125.6 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.366, allocations: 55.41 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.3662, allocations: 145.6 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3662, allocations: 25.7 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.3663, allocations: 104.1 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3663, allocations: 11.89 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.3664, allocations: 37.7 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3666, allocations: 326.8 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3667, allocations: 47.95 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.3669, allocations: 79.41 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.3672, allocations: 124.2 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3672, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004597/0.3677, allocations: 195.3 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.3677, allocations: 41.69 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3677, allocations: 320 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3677, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.3678, allocations: 12 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3678, allocations: 11.86 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.3681, allocations: 47.91 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3681, allocations: 8 kB / 1.326 GB, free: 13.57 MB / 1.029 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.0001155/0.3682, allocations: 117.8 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.3682, allocations: 7.953 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.3683, allocations: 12.36 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3683, allocations: 96 / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3683, allocations: 7.875 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3683, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.3685, allocations: 185.6 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3685, allocations: 3.984 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.3685, allocations: 15.94 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3685, allocations: 0 / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3685, allocations: 0 / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3686, allocations: 3.984 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3686, allocations: 3.938 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3688, allocations: 125 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.3689, allocations: 81.09 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3689, allocations: 4 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.369, allocations: 7.984 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.369, allocations: 15.92 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.3691, allocations: 4 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.3691, allocations: 91.27 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3691, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000242/0.3694, allocations: 39.89 kB / 1.327 GB, free: 12.76 MB / 1.029 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.0006423/0.37, allocations: 0.6592 MB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.3704, allocations: 163.4 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3704, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3705, allocations: 36.09 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3707, allocations: 15.94 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.373, allocations: 1.61 MB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3733, allocations: 0.6923 MB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.994e-05/0.3733, allocations: 11.98 kB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.3734, allocations: 19.44 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3734, allocations: 0 / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.3997, allocations: 2.811 MB / 1.333 GB, free: 6.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.308, allocations: 4.688 kB / 1.333 GB, free: 6.727 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.TBoi from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onSys in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onSys from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onPum in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onPum from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onBoi in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onBoi from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.119931443128735]