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.001883/0.001883, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002722/0.002722, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.785 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.317/3.317, allocations: 0.49 GB / 0.7951 GB, free: 35.35 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.001981/0.001981, allocations: 72.83 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3105, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002168/0.3127, allocations: 0.7964 MB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3144, allocations: 1.182 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.3145, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.3145, allocations: 11.86 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.3146, allocations: 11.88 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.3151, allocations: 142.9 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.3154, allocations: 143.7 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3155, allocations: 24.27 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3156, allocations: 59.83 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3157, allocations: 63.81 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.3158, allocations: 12 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.3158, allocations: 27.98 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.3159, allocations: 23.91 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.3159, allocations: 47.84 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.3162, allocations: 151.4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3162, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3162, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3162, allocations: 0 / 1.328 GB, free: 14.8 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.0006361/0.3168, allocations: 360.9 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3169, allocations: 12.03 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.3169, allocations: 38.73 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.317, allocations: 12.89 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3171, allocations: 130.3 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3171, allocations: 4.375 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.3171, allocations: 12.38 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3173, allocations: 82.2 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3174, allocations: 3.938 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3174, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3174, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.3176, allocations: 59.89 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.3181, allocations: 319.7 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.3183, allocations: 50.5 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3184, allocations: 32.92 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.3184, allocations: 4 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.3187, allocations: 83.36 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3187, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004251/0.3191, allocations: 129.5 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3191, allocations: 55.34 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3192, allocations: 121.8 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.3193, allocations: 37.69 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.3193, allocations: 104 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3194, allocations: 15.89 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.3194, allocations: 45.62 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3196, allocations: 314.8 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3198, allocations: 85.66 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.32, allocations: 130.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.3202, allocations: 120.2 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3202, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004589/0.3207, allocations: 224.9 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.3207, allocations: 37.69 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3207, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3207, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.3208, allocations: 15.98 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.3208, allocations: 8 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.3211, allocations: 39.91 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3211, allocations: 4 kB / 1.331 GB, free: 11.88 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.0001179/0.3212, allocations: 127.4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3212, allocations: 11.94 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.3213, allocations: 8.375 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3213, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3213, allocations: 8.25 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3213, allocations: 4 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.3214, allocations: 152.7 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3214, allocations: 4 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.3215, allocations: 7.984 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3215, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3215, allocations: 4 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3215, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3215, allocations: 7.922 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.3218, allocations: 132.9 kB / 1.331 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.3218, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3218, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.3219, allocations: 15.98 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.322, allocations: 15.91 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.322, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.629e-05/0.322, allocations: 99.27 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.322, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002315/0.3223, allocations: 27.89 kB / 1.332 GB, free: 11.19 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.0006644/0.3229, allocations: 0.6671 MB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.3233, allocations: 181.2 kB / 1.332 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3233, allocations: 0 / 1.332 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3235, allocations: 35.91 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3237, allocations: 28.05 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.326, allocations: 1.728 MB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.035e-05/0.3261, allocations: 75.27 kB / 1.334 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.3261, allocations: 8 kB / 1.334 GB, free: 8.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.3262, allocations: 27.42 kB / 1.334 GB, free: 8.262 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3262, allocations: 0 / 1.334 GB, free: 8.262 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.3565, allocations: 3.512 MB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11, allocations: 10.64 kB / 1.338 GB, free: 4.898 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: 17.96274615699076]