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.001983/0.001983, allocations: 116.8 kB / 17.17 MB, free: 6 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.00232/0.00232, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.606/1.606, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.934/2.934, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 GB " [Timeout remaining time 176] 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.002348/0.002348, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002231/1.107, allocations: 0.821 MB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001795/1.109, allocations: 1.199 MB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/1.109, allocations: 0.9688 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/1.109, allocations: 4.688 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.665e-05/1.109, allocations: 15.67 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/1.11, allocations: 144.9 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000227/1.11, allocations: 143.2 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/1.11, allocations: 20.27 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/1.11, allocations: 64.64 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/1.11, allocations: 59.72 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/1.11, allocations: 14.19 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.04e-05/1.11, allocations: 27.12 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/1.11, allocations: 23.38 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/1.11, allocations: 57.22 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/1.111, allocations: 143.5 kB / 1.282 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.111, allocations: 0.625 kB / 1.282 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.111, allocations: 0 / 1.282 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.081e-06/1.111, allocations: 0.6875 kB / 1.282 GB, free: 10.01 MB / 0.9981 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.0007762/1.112, allocations: 433.8 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.112, allocations: 10.52 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/1.112, allocations: 9.906 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/1.112, allocations: 37.84 kB / 1.282 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/1.112, allocations: 15.89 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/1.112, allocations: 169.7 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.112, allocations: 5.375 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/1.112, allocations: 12.5 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/1.112, allocations: 94.94 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.112, allocations: 0.5 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.112, allocations: 1.297 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.112, allocations: 5.562 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/1.113, allocations: 60.02 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/1.113, allocations: 382.5 kB / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/1.113, allocations: 57.62 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/1.113, allocations: 31.88 kB / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/1.114, allocations: 0 / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/1.114, allocations: 85.98 kB / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/1.114, allocations: 0 / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.000485/1.114, allocations: 132.9 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.114, allocations: 57.33 kB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.114, allocations: 123.7 kB / 1.283 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/1.114, allocations: 33.75 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/1.115, allocations: 99.58 kB / 1.283 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/1.115, allocations: 12.08 kB / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/1.115, allocations: 37.36 kB / 1.283 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.115, allocations: 319.9 kB / 1.284 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/1.115, allocations: 51.83 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/1.115, allocations: 78.67 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/1.115, allocations: 124 kB / 1.284 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.115, allocations: 256 / 1.284 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004811/1.116, allocations: 192.8 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/1.116, allocations: 39.28 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.116, allocations: 4.859 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.116, allocations: 2.031 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/1.116, allocations: 8.281 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/1.116, allocations: 13.86 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/1.116, allocations: 39.56 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/1.116, allocations: 6.266 kB / 1.284 GB, free: 7.793 MB / 0.9981 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.0001215/1.117, allocations: 122.5 kB / 1.284 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/1.117, allocations: 6.125 kB / 1.284 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/1.117, allocations: 15.97 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.117, allocations: 1.281 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.117, allocations: 3.938 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.117, allocations: 0.6562 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/1.117, allocations: 192.5 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.117, allocations: 0 / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.369e-05/1.117, allocations: 8.531 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.117, allocations: 1.375 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.117, allocations: 0.6094 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.117, allocations: 1.797 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.117, allocations: 3.938 kB / 1.285 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/1.117, allocations: 125.6 kB / 1.285 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/1.117, allocations: 83.33 kB / 1.285 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/1.117, allocations: 5.906 kB / 1.285 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/1.117, allocations: 9.844 kB / 1.285 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/1.117, allocations: 22.09 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/1.117, allocations: 5.859 kB / 1.285 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.178e-05/1.118, allocations: 93.38 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.118, allocations: 0 / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002423/1.118, allocations: 25.36 kB / 1.285 GB, free: 7.152 MB / 0.9981 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.0007163/1.118, allocations: 0.6638 MB / 1.286 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004305/1.119, allocations: 154.2 kB / 1.286 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.119, allocations: 0 / 1.286 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/1.119, allocations: 38.39 kB / 1.286 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/1.119, allocations: 28.98 kB / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/1.122, allocations: 1.606 MB / 1.287 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/1.122, allocations: 0.6944 MB / 1.288 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.794e-05/1.122, allocations: 9.656 kB / 1.288 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/1.122, allocations: 25.97 kB / 1.288 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.122, allocations: 0 / 1.288 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/1.144, allocations: 2.861 MB / 1.291 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/9.369, allocations: 5.359 kB / 1.291 GB, free: 3.898 MB / 0.9981 GB " [Timeout remaining time 291] (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: 16.099114859011024] Failed to read output from testmodel.py, exit status != 0: 9.496470220969059 9.511399248 8.397704608 Calling exit ...