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.001543/0.001543, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001477/0.001477, allocations: 213.1 kB / 22.24 MB, free: 5.242 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.805 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.333/3.333, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002061/0.002061, allocations: 72.09 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3193, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002006/0.3213, allocations: 0.8017 MB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3228, allocations: 1.171 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.3229, allocations: 4 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.3229, allocations: 7.938 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.918e-05/0.323, allocations: 15.86 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.3235, allocations: 141.6 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.3237, allocations: 147.7 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.3238, allocations: 20.27 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.3239, allocations: 59.84 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.324, allocations: 47.8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.324, allocations: 16 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.3241, allocations: 31.98 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.3241, allocations: 19.92 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.3242, allocations: 43.84 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.3244, allocations: 155.4 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3244, allocations: 3.938 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3244, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3244, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 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.000609/0.325, allocations: 355.8 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.325, allocations: 8.031 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.3251, allocations: 50.69 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.3251, allocations: 8.891 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3252, allocations: 122.4 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3252, allocations: 4.375 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3253, allocations: 12.38 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.3255, allocations: 84.83 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3255, allocations: 3.938 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3255, allocations: 4 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3255, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.3257, allocations: 67.89 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.3263, allocations: 323.7 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3264, allocations: 54.48 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3265, allocations: 28.92 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3265, allocations: 4 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3267, allocations: 87.31 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3267, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004263/0.3272, allocations: 125.6 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3272, allocations: 55.39 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3273, allocations: 133.7 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.3274, allocations: 29.7 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.3274, allocations: 100.1 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3274, allocations: 19.83 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.3275, allocations: 41.69 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3277, allocations: 322.8 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3279, allocations: 81.66 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.3281, allocations: 130.8 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3283, allocations: 120.2 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3283, allocations: 4 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004472/0.3288, allocations: 224.9 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.3288, allocations: 39.88 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3288, allocations: 4 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3288, allocations: 0 / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.3289, allocations: 4 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.3289, allocations: 12.02 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.3292, allocations: 39.95 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.3292, allocations: 11.94 kB / 1.369 GB, free: 8.52 MB / 1.061 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.0001097/0.3293, allocations: 122.5 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.3293, allocations: 3.953 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.3293, allocations: 16.36 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3293, allocations: 0 / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3293, allocations: 4.25 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3294, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3295, allocations: 152.7 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3295, allocations: 4 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.3296, allocations: 11.98 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3296, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.3296, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3296, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3296, allocations: 3.938 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.3299, allocations: 129 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.3299, allocations: 7.953 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3299, allocations: 4 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.33, allocations: 11.98 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.33, allocations: 19.91 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.33, allocations: 4 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.473e-05/0.3301, allocations: 95.2 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3301, allocations: 4 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002262/0.3303, allocations: 23.94 kB / 1.369 GB, free: 7.84 MB / 1.061 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.0006333/0.331, allocations: 0.667 MB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.3314, allocations: 185 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3314, allocations: 0 / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3315, allocations: 35.91 kB / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.3317, allocations: 11.94 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.3339, allocations: 1.73 MB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.796e-05/0.334, allocations: 75.33 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.334, allocations: 4 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.334, allocations: 27.42 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.334, allocations: 0 / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.3653, allocations: 3.474 MB / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.25, allocations: 22.38 kB / 1.375 GB, free: 1.594 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: 18.201875114347786]