Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001515/0.001515, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001528/0.001528, allocations: 216.2 kB / 22.24 MB, free: 5.094 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.784/2.784, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_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.002145/0.002145, allocations: 67.81 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3071, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002201/0.3093, allocations: 0.7957 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3109, allocations: 1.172 MB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.311, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.3111, allocations: 11.86 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.505e-05/0.3111, allocations: 11.88 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.3117, allocations: 144.2 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.3119, allocations: 143.7 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.312, allocations: 31.44 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3122, allocations: 55.84 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3123, allocations: 55.8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.3123, allocations: 12 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.3124, allocations: 27.98 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.3124, allocations: 23.92 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.541e-05/0.3125, allocations: 51.83 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3127, allocations: 153.2 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3127, allocations: 0 / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3127, allocations: 0 / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3127, allocations: 0 / 1.285 GB, free: 9.762 MB / 0.9825 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.0006411/0.3134, allocations: 347.8 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3134, allocations: 12.03 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.3135, allocations: 38.73 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.3135, allocations: 16.84 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3136, allocations: 114.5 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3137, allocations: 12.31 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.3137, allocations: 16.31 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.3139, allocations: 90.19 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3139, allocations: 3.938 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.314, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.314, allocations: 4 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.3142, allocations: 59.95 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.3147, allocations: 327.6 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3149, allocations: 54.55 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.315, allocations: 24.94 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.315, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.3153, allocations: 91.3 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3153, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004376/0.3157, allocations: 125.6 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.3158, allocations: 59.41 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3159, allocations: 129.7 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.3159, allocations: 29.7 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.316, allocations: 104 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.316, allocations: 15.92 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.3161, allocations: 33.7 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3162, allocations: 322.8 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.3164, allocations: 81.66 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.3166, allocations: 138.8 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.3169, allocations: 120.2 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3169, allocations: 0 / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004762/0.3174, allocations: 225.2 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.3174, allocations: 41.78 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3174, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3174, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.3175, allocations: 15.98 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3175, allocations: 3.938 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3178, allocations: 47.84 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.3178, allocations: 4 kB / 1.288 GB, free: 6.84 MB / 0.9825 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.0001166/0.3179, allocations: 129.8 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.3179, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.318, allocations: 8.375 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.318, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.318, allocations: 3.938 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.318, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3181, allocations: 152.7 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3181, allocations: 0 / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.3182, allocations: 11.92 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3182, allocations: 4 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3182, allocations: 8 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3182, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3182, allocations: 3.938 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3185, allocations: 121.1 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.3185, allocations: 3.953 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3185, allocations: 4 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.3186, allocations: 7.984 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.3187, allocations: 19.91 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3187, allocations: 8 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.243e-05/0.3187, allocations: 91.27 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3187, allocations: 0 / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002401/0.319, allocations: 31.89 kB / 1.288 GB, free: 6.16 MB / 0.9825 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.0006382/0.3196, allocations: 0.6632 MB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.32, allocations: 197.2 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.32, allocations: 0 / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.3201, allocations: 35.97 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3204, allocations: 18.42 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.3226, allocations: 1.722 MB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.85e-05/0.3227, allocations: 83.25 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.3228, allocations: 0 / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.3228, allocations: 27.42 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/0.3228, allocations: 0 / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.3556, allocations: 3.486 MB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.19, allocations: 12.62 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.TBoi from file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onSys in file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onSys from file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onPum in file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onPum from file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! Error: Could not read variable conEquSta.onBoi in file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv. Warning: Get data of variable conEquSta.onBoi from file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.878071326296777]