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.001783/0.001783, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002323/0.002323, allocations: 210.1 kB / 22.24 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.746 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.245/3.245, allocations: 0.4893 GB / 0.7943 GB, free: 35.65 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.002049/0.002049, allocations: 71.94 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002299/0.3374, allocations: 0.8055 MB / 1.326 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.339, allocations: 1.171 MB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.3391, allocations: 3.938 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.3391, allocations: 7.922 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.47e-05/0.3392, allocations: 15.86 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.3398, allocations: 147.6 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.34, allocations: 147.7 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3401, allocations: 28.25 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3403, allocations: 55.84 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.3404, allocations: 55.8 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3404, allocations: 12 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.3405, allocations: 23.98 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.3406, allocations: 19.98 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.3406, allocations: 47.8 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.3409, allocations: 155.5 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3409, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3409, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.3409, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 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.0007195/0.3417, allocations: 351.7 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3417, allocations: 12.03 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.3417, allocations: 38.75 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.3418, allocations: 16.88 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3419, allocations: 114.4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3419, allocations: 8.375 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.342, allocations: 8.375 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.3422, allocations: 90.2 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3422, allocations: 7.875 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3422, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3422, allocations: 7.938 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3424, allocations: 55.95 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.343, allocations: 327.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3432, allocations: 46.56 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3433, allocations: 32.92 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.3433, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.3436, allocations: 87.36 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3436, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.00044/0.344, allocations: 125.5 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3441, allocations: 59.41 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3442, allocations: 121.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.3442, allocations: 29.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.3443, allocations: 108 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.3443, allocations: 19.78 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.3444, allocations: 37.69 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3445, allocations: 318.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.3447, allocations: 81.66 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3449, allocations: 138.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.3452, allocations: 116.3 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3452, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004463/0.3456, allocations: 224.9 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.3457, allocations: 39.41 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3457, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3457, allocations: 4.062 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.3458, allocations: 15.92 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3458, allocations: 3.938 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.346, allocations: 43.91 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.346, allocations: 4 kB / 1.33 GB, free: 12.79 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.0001104/0.3461, allocations: 121.9 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3462, allocations: 11.94 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.3462, allocations: 16.36 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3462, allocations: 4 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3462, allocations: 8.188 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3462, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3464, allocations: 152.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3464, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.3464, allocations: 7.984 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3464, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3464, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3464, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3464, allocations: 7.938 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.3467, allocations: 129 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.3467, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.3468, allocations: 4 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.3468, allocations: 7.984 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.3469, allocations: 19.91 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3469, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.347, allocations: 91.27 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.347, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002311/0.3472, allocations: 35.89 kB / 1.331 GB, free: 12.11 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.0006312/0.3478, allocations: 0.6649 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.3482, allocations: 185.2 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3482, allocations: 3.938 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3484, allocations: 40.09 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.3486, allocations: 15.92 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.3509, allocations: 1.734 MB / 1.333 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.74e-05/0.3509, allocations: 79.33 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.351, allocations: 0 / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.351, allocations: 27.42 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.351, allocations: 0 / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.3816, allocations: 3.48 MB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.16, allocations: 9.656 kB / 1.337 GB, free: 5.84 MB / 1.029 GB " [Timeout remaining time 289] (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: 18.04801931232214]