Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001826/0.001826, allocations: 116.1 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.002268/0.002268, allocations: 209.6 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.996/2.996, allocations: 0.49 GB / 0.7923 GB, free: 1.363 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.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.001988/0.001988, allocations: 71.88 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8552/0.8572, allocations: 176.1 MB / 1.321 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001776/0.859, allocations: 0.9127 MB / 1.322 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.8599, allocations: 0.9339 MB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.8599, allocations: 0 / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.86, allocations: 13.77 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/0.86, allocations: 15.81 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.8602, allocations: 53.47 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.8604, allocations: 127.1 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.8605, allocations: 37.7 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.8606, allocations: 58.11 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.16e-05/0.8607, allocations: 59.12 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.8607, allocations: 16.94 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.345e-05/0.8608, allocations: 16.97 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.8608, allocations: 26.16 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.8608, allocations: 57.58 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.861, allocations: 154.3 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.861, allocations: 2.906 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.861, allocations: 0 / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.861, allocations: 0 / 1.324 GB, free: 23.06 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005133/0.8615, allocations: 442.3 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.8615, allocations: 14.33 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/0.8616, allocations: 10.84 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.8616, allocations: 40.55 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.8618, allocations: 30.16 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.862, allocations: 219 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.862, allocations: 15 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.8621, allocations: 11.62 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.8622, allocations: 106.6 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8623, allocations: 0 / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.8623, allocations: 2.875 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8623, allocations: 0 / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.8624, allocations: 69.78 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.8629, allocations: 400.1 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.8631, allocations: 77.33 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.8632, allocations: 43.3 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.8632, allocations: 7.938 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.8632, allocations: 30.56 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.8633, allocations: 0 / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.000336/0.8636, allocations: 131 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.8636, allocations: 62.61 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.8637, allocations: 160.1 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.8637, allocations: 32.27 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.8638, allocations: 109.1 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.8638, allocations: 21.89 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.8638, allocations: 29.62 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.8639, allocations: 321 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.864, allocations: 28.67 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.442e-05/0.8641, allocations: 55.91 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.8642, allocations: 55.84 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8642, allocations: 3.938 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002/0.8644, allocations: 111.1 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8644, allocations: 2.906 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.8644, allocations: 2.781 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8644, allocations: 0 / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.8645, allocations: 18.61 kB / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.8645, allocations: 0 / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.8646, allocations: 15.11 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.8646, allocations: 7.938 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 6.999e-05/0.8647, allocations: 118.7 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.8647, allocations: 16.56 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.8648, allocations: 15.34 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8648, allocations: 3.984 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.8648, allocations: 10.56 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.8648, allocations: 0 / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.8649, allocations: 218.1 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8649, allocations: 3.938 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.865, allocations: 19.7 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.865, allocations: 0 / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.865, allocations: 2.719 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.865, allocations: 0 / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.865, allocations: 3.938 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.8652, allocations: 193.9 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.8653, allocations: 87.88 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.8653, allocations: 4 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.8654, allocations: 9 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.8655, allocations: 12.41 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.8655, allocations: 10.2 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.8655, allocations: 121.9 kB / 1.327 GB, free: 20.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8655, allocations: 0 / 1.327 GB, free: 20.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000223/0.8657, allocations: 17.3 kB / 1.327 GB, free: 20.18 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003579/0.8661, allocations: 0.7381 MB / 1.328 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.8663, allocations: 71.14 kB / 1.328 GB, free: 19.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8663, allocations: 0 / 1.328 GB, free: 19.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.8664, allocations: 38.48 kB / 1.328 GB, free: 19.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.8667, allocations: 8.812 kB / 1.328 GB, free: 19.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.8683, allocations: 1.659 MB / 1.33 GB, free: 18.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.8684, allocations: 0.7027 MB / 1.33 GB, free: 17.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.308e-05/0.8685, allocations: 8.984 kB / 1.33 GB, free: 17.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.8685, allocations: 40.44 kB / 1.33 GB, free: 17.37 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.8685, allocations: 0 / 1.33 GB, free: 17.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.8876, allocations: 2.72 MB / 1.333 GB, free: 16.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.925, allocations: 11.14 kB / 1.333 GB, free: 16.88 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.245168739988003] Failed to read output from testmodel.py, exit status != 0: 9.049094151007012 9.070074327 8.205046007 Calling exit ...