Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008625/0.0008625, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008418/0.0008418, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9424/0.9424, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.859/1.859, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.016e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001584/0.001604, allocations: 0.7978 MB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.002786, allocations: 1.193 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.002845, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.002884, allocations: 7.875 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.63e-05/0.00298, allocations: 15.86 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.003444, allocations: 138.5 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.003624, allocations: 147.7 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.003747, allocations: 27.91 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.003866, allocations: 75.89 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.003966, allocations: 51.84 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.003992, allocations: 16 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.884e-05/0.004051, allocations: 20 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.004081, allocations: 27.91 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.004133, allocations: 35.97 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.004331, allocations: 171.5 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004334, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004335, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.00434, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 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.0005945/0.004934, allocations: 355.7 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.004976, allocations: 12.75 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.005007, allocations: 38.73 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.005048, allocations: 16.84 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.005127, allocations: 121.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005141, allocations: 8.375 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.005159, allocations: 8.375 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.005329, allocations: 90.2 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.005336, allocations: 192 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.005346, allocations: 384 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005354, allocations: 8.125 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.005467, allocations: 59.89 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.005882, allocations: 323.8 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.00599, allocations: 58.47 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.006042, allocations: 24.94 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.006053, allocations: 0 / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.006214, allocations: 83.36 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.006215, allocations: 0 / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002774/0.006492, allocations: 133.5 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.006532, allocations: 55.41 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.006612, allocations: 125.8 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.006629, allocations: 25.7 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.006683, allocations: 111.9 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.006701, allocations: 15.86 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.006749, allocations: 37.7 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.006838, allocations: 322.8 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.006951, allocations: 85.66 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.007068, allocations: 135 kB / 1.004 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.007217, allocations: 120.2 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.00722, allocations: 4 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002749/0.007495, allocations: 224.9 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.007535, allocations: 41.69 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.007543, allocations: 0 / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.007558, allocations: 4 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.007628, allocations: 7.984 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.007634, allocations: 0 / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.007755, allocations: 39.91 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.007771, allocations: 12.06 kB / 1.005 GB, free: 7.879 MB / 0.9636 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 9.144e-05/0.007863, allocations: 125.7 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.007876, allocations: 7.984 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.007904, allocations: 8.438 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.007906, allocations: 4 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.007913, allocations: 0 / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.007918, allocations: 0 / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.008032, allocations: 156.6 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.008035, allocations: 0 / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.008064, allocations: 11.98 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.008068, allocations: 4 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.008076, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008077, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008078, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.008254, allocations: 129 kB / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.008266, allocations: 7.891 kB / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.008283, allocations: 4 kB / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.008314, allocations: 11.98 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.008373, allocations: 15.97 kB / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.008381, allocations: 4 kB / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.008427, allocations: 99.64 kB / 1.005 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.008428, allocations: 0 / 1.005 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001531/0.008581, allocations: 23.95 kB / 1.005 GB, free: 7.207 MB / 0.9636 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.0004163/0.008997, allocations: 0.6672 MB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.009245, allocations: 189 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.009248, allocations: 4 kB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.009311, allocations: 35.91 kB / 1.006 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.009461, allocations: 18.22 kB / 1.006 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.01076, allocations: 1.72 MB / 1.008 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.01081, allocations: 75.33 kB / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.01083, allocations: 7.984 kB / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.01088, allocations: 20.5 kB / 1.008 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.01088, allocations: 0 / 1.008 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.02771, allocations: 3.63 MB / 1.012 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.688, allocations: 15.17 kB / 1.012 GB, free: 0.8047 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.TBoi from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onSys in file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onSys from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onPum in file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onPum from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onBoi in file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onBoi from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.131616352126002]