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.001781/0.001781, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002382/0.002382, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.736/2.736, allocations: 476.7 MB / 0.7714 GB, free: 4.297 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="cs",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.002042/0.002042, allocations: 61.03 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3204, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002323/0.3227, allocations: 0.8183 MB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3244, allocations: 1.188 MB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.3245, allocations: 4 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.3246, allocations: 11.86 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3247, allocations: 15.86 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.3252, allocations: 132.2 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3254, allocations: 147.7 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3255, allocations: 31.86 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3256, allocations: 51.91 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3257, allocations: 63.8 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.3258, allocations: 16 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.3258, allocations: 27.98 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.3259, allocations: 19.92 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.326, allocations: 59.77 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3262, allocations: 151 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3262, allocations: 0 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3262, allocations: 0 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3262, allocations: 0 / 1.287 GB, free: 8.871 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.0006534/0.3269, allocations: 363.7 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3269, allocations: 12.03 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.3269, allocations: 192 / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.327, allocations: 38.73 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.327, allocations: 20.78 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3271, allocations: 110.5 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3271, allocations: 4.375 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.3272, allocations: 16.31 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3274, allocations: 91.58 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3274, allocations: 4 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3274, allocations: 0 / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3274, allocations: 4 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.3277, allocations: 55.95 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.3283, allocations: 355.5 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.3285, allocations: 54.55 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3286, allocations: 28.94 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.3286, allocations: 0 / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.3289, allocations: 91.3 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 4.318e-06/0.3289, allocations: 4 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004464/0.3294, allocations: 125.6 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3294, allocations: 55.34 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3295, allocations: 121.8 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.3296, allocations: 33.7 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.3296, allocations: 96.05 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3297, allocations: 19.88 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.3297, allocations: 41.7 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3299, allocations: 314.8 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.33, allocations: 55.91 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3302, allocations: 83.33 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.3305, allocations: 120.2 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3305, allocations: 0 / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004359/0.3309, allocations: 191.2 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.331, allocations: 44.3 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.331, allocations: 3.938 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.331, allocations: 8.062 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.3311, allocations: 7.984 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3311, allocations: 7.938 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.3313, allocations: 35.91 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3313, allocations: 11.98 kB / 1.289 GB, free: 6.055 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.0001103/0.3315, allocations: 125.8 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.3315, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.3315, allocations: 12.38 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3315, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3315, allocations: 3.938 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3315, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.3317, allocations: 164.6 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3317, allocations: 0 / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.3317, allocations: 15.92 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3317, allocations: 0 / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3318, allocations: 4 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3318, allocations: 4 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3318, allocations: 4.25 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.332, allocations: 125.1 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.332, allocations: 3.953 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3321, allocations: 0 / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.3321, allocations: 15.98 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.3322, allocations: 19.91 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3322, allocations: 0 / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.3323, allocations: 99.64 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3323, allocations: 0 / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002556/0.3325, allocations: 31.89 kB / 1.29 GB, free: 5.363 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.000611/0.3331, allocations: 0.6632 MB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.3335, allocations: 159.3 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3335, allocations: 0 / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3336, allocations: 23.98 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.3339, allocations: 27.98 kB / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.336, allocations: 1.603 MB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3363, allocations: 0.6924 MB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.3363, allocations: 0 / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.3364, allocations: 27.42 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3364, allocations: 0 / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3604, allocations: 2.966 MB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.16, allocations: 10.31 kB / 1.296 GB, free: 15.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 17.64300306100631] Failed to read output from testmodel.py, exit status != 0: 11.796291020000353 11.345455983 11.014818645 Calling exit ...