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.001742/0.001742, allocations: 103.5 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.002096/0.002096, 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] 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 3.415/3.415, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002036/0.002036, allocations: 67.14 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.371, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002333/0.3733, allocations: 0.8122 MB / 1.349 GB, free: 9.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3752, allocations: 1.187 MB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.3753, allocations: 0 / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.3753, allocations: 7.875 kB / 1.35 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3754, allocations: 15.86 kB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.376, allocations: 149.7 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.3762, allocations: 139.8 kB / 1.35 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3763, allocations: 19.98 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3764, allocations: 59.84 kB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.3765, allocations: 67.78 kB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.3765, allocations: 12 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.3766, allocations: 31.92 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.3767, allocations: 15.94 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.3767, allocations: 55.83 kB / 1.35 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.377, allocations: 151.7 kB / 1.35 GB, free: 7.289 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.377, allocations: 0 / 1.35 GB, free: 7.289 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.377, allocations: 0 / 1.35 GB, free: 7.289 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.377, allocations: 0 / 1.35 GB, free: 7.289 MB / 1.045 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.0007395/0.3777, allocations: 440.8 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3778, allocations: 15.98 kB / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.3778, allocations: 38.73 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.3779, allocations: 12.89 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.378, allocations: 176.2 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.378, allocations: 4.375 kB / 1.351 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.3781, allocations: 12.38 kB / 1.351 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.3783, allocations: 84.83 kB / 1.351 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3783, allocations: 3.938 kB / 1.351 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3783, allocations: 8 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3783, allocations: 0 / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.3786, allocations: 59.89 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.3792, allocations: 388.5 kB / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3794, allocations: 54.48 kB / 1.352 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3795, allocations: 40.91 kB / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.3795, allocations: 0 / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.3798, allocations: 75.38 kB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3798, allocations: 0 / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004555/0.3803, allocations: 129.6 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.3803, allocations: 59.34 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3804, allocations: 133.7 kB / 1.352 GB, free: 5.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.3805, allocations: 29.7 kB / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.3805, allocations: 100.1 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3806, allocations: 11.91 kB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/0.3806, allocations: 37.7 kB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3808, allocations: 322.8 kB / 1.353 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.3809, allocations: 51.95 kB / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.3811, allocations: 75.41 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.3814, allocations: 128.2 kB / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3814, allocations: 0 / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004434/0.3819, allocations: 195.2 kB / 1.353 GB, free: 4.383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.3819, allocations: 41.69 kB / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3819, allocations: 0 / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3819, allocations: 0 / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.382, allocations: 12.06 kB / 1.353 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.382, allocations: 11.98 kB / 1.353 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.3823, allocations: 39.89 kB / 1.353 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3823, allocations: 4 kB / 1.353 GB, free: 4.27 MB / 1.045 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.0001247/0.3824, allocations: 125.9 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3824, allocations: 12.2 kB / 1.353 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.3824, allocations: 16.36 kB / 1.353 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3824, allocations: 0 / 1.353 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3825, allocations: 7.938 kB / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3825, allocations: 3.938 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3826, allocations: 181.6 kB / 1.353 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3826, allocations: 3.984 kB / 1.353 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.3827, allocations: 8 kB / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3827, allocations: 0 / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3827, allocations: 0 / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3827, allocations: 3.984 kB / 1.353 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3827, allocations: 11.94 kB / 1.353 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.383, allocations: 117 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.383, allocations: 85.05 kB / 1.354 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.3831, allocations: 11.94 kB / 1.354 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.3831, allocations: 7.984 kB / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.3832, allocations: 19.92 kB / 1.354 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3832, allocations: 4 kB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.3833, allocations: 91.27 kB / 1.354 GB, free: 3.477 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3833, allocations: 0 / 1.354 GB, free: 3.477 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002271/0.3835, allocations: 27.94 kB / 1.354 GB, free: 3.449 MB / 1.045 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.0006526/0.3841, allocations: 0.6593 MB / 1.354 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.3846, allocations: 155.3 kB / 1.355 GB, free: 2.598 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3846, allocations: 0 / 1.355 GB, free: 2.598 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3847, allocations: 39.91 kB / 1.355 GB, free: 2.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3849, allocations: 16.06 kB / 1.355 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.3871, allocations: 1.606 MB / 1.356 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.3874, allocations: 0.6924 MB / 1.357 GB, free: 120 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.3874, allocations: 7.984 kB / 1.357 GB, free: 112 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.3875, allocations: 23.44 kB / 1.357 GB, free: 88 kB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3875, allocations: 0 / 1.357 GB, free: 88 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.4154, allocations: 2.814 MB / 1.36 GB, free: 13.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.268, allocations: 13.41 kB / 1.36 GB, free: 13.42 MB / 1.061 GB " [Timeout remaining time 292] (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/jenkins1/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: 15.407069636043161]