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.001766/0.001766, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002541/0.002541, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.973 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.257/3.257, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.00284/0.00284, allocations: 74.61 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.341, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002079/0.3431, allocations: 0.8182 MB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3446, allocations: 1.194 MB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.3447, allocations: 4 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.3447, allocations: 11.86 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.3448, allocations: 11.88 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.3453, allocations: 149.4 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.3455, allocations: 139.8 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3456, allocations: 24.27 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.3457, allocations: 63.83 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3458, allocations: 51.81 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.3459, allocations: 16 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.3459, allocations: 31.97 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.346, allocations: 23.92 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.346, allocations: 55.72 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.3463, allocations: 151.5 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3463, allocations: 3.938 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3463, allocations: 0 / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3463, allocations: 0 / 1.356 GB, free: 5.738 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.0006181/0.3469, allocations: 359.7 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3469, allocations: 8.031 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.347, allocations: 38.73 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.347, allocations: 16.89 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3471, allocations: 122.3 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3471, allocations: 8.375 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.3472, allocations: 8.375 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3474, allocations: 90.14 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3474, allocations: 3.938 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3474, allocations: 0 / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3474, allocations: 4 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.3476, allocations: 59.95 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.3482, allocations: 355.6 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3483, allocations: 50.55 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.3484, allocations: 28.94 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.3484, allocations: 0 / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.3487, allocations: 87.3 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3487, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004156/0.3491, allocations: 125.8 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3491, allocations: 55.41 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3492, allocations: 133.7 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3493, allocations: 29.7 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.3493, allocations: 104 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3494, allocations: 19.83 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.3494, allocations: 37.7 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3496, allocations: 318.8 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3497, allocations: 52.03 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.3499, allocations: 83.39 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.3502, allocations: 116.2 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3502, allocations: 4.031 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004061/0.3506, allocations: 191.2 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.3506, allocations: 37.7 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3506, allocations: 0 / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3506, allocations: 4 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.3507, allocations: 7.984 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3507, allocations: 8.031 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.3509, allocations: 39.95 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.351, allocations: 12 kB / 1.358 GB, free: 2.93 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.0001082/0.3511, allocations: 122.5 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.3511, allocations: 7.891 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.3511, allocations: 12.38 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.3511, allocations: 3.984 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3511, allocations: 7.938 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3511, allocations: 3.938 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.3513, allocations: 160.7 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3513, allocations: 0 / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.3513, allocations: 15.98 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3513, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3513, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3513, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3513, allocations: 3.938 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.3516, allocations: 129 kB / 1.358 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.3516, allocations: 3.953 kB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3516, allocations: 0 / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.3517, allocations: 11.98 kB / 1.358 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.3518, allocations: 15.92 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.3518, allocations: 4.109 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.3518, allocations: 99.2 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3518, allocations: 4 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002224/0.3521, allocations: 27.94 kB / 1.359 GB, free: 2.238 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.0006142/0.3527, allocations: 0.6554 MB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.353, allocations: 163.3 kB / 1.359 GB, free: 1.383 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.353, allocations: 0 / 1.359 GB, free: 1.383 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3532, allocations: 27.98 kB / 1.359 GB, free: 1.355 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.3534, allocations: 27.28 kB / 1.359 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.3554, allocations: 1.601 MB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3558, allocations: 0.6924 MB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.3558, allocations: 11.94 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.3559, allocations: 23.42 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.3559, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.3846, allocations: 2.927 MB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.72, allocations: 13.61 kB / 1.365 GB, free: 12.09 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.719856925000386]