Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001267/0.001267, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001356/0.001356, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.789/2.789, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_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.002114/0.002114, allocations: 71.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9061/0.9082, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00248/0.9107, allocations: 0.9353 MB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.9121, allocations: 0.9201 MB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.9121, allocations: 1.125 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.9122, allocations: 13.73 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.9123, allocations: 19.19 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.9125, allocations: 47.03 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.9127, allocations: 134.1 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.9129, allocations: 38.73 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.9131, allocations: 60.52 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.9132, allocations: 53.41 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.9132, allocations: 12.97 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.587e-05/0.9133, allocations: 20.11 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.9133, allocations: 28.11 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.9134, allocations: 61.09 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.9136, allocations: 156.5 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9136, allocations: 4.609 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9136, allocations: 0 / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.9136, allocations: 1.062 kB / 1.281 GB, free: 10.1 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007174/0.9143, allocations: 432.5 kB / 1.282 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9144, allocations: 11.34 kB / 1.282 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.066e-05/0.9144, allocations: 9.422 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.9145, allocations: 40.62 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.9147, allocations: 31.52 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.915, allocations: 218.6 kB / 1.282 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.9151, allocations: 12.53 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.9151, allocations: 11.03 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.9154, allocations: 108.8 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.9154, allocations: 0.5312 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.9154, allocations: 8.484 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.9154, allocations: 6.5 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.9157, allocations: 73.66 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.9164, allocations: 399.2 kB / 1.283 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.9167, allocations: 78.8 kB / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.9168, allocations: 37.02 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.9169, allocations: 5.375 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.9169, allocations: 36.7 kB / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.9169, allocations: 0 / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004209/0.9173, allocations: 129.4 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.9174, allocations: 57.31 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.9175, allocations: 155 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.9176, allocations: 30.83 kB / 1.283 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.9176, allocations: 107.5 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.9177, allocations: 25.11 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.9177, allocations: 23.33 kB / 1.283 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.9179, allocations: 328.4 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.918, allocations: 30.27 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.9181, allocations: 56.77 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.9183, allocations: 54.81 kB / 1.284 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9183, allocations: 0 / 1.284 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002666/0.9185, allocations: 125.3 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9186, allocations: 5.953 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9186, allocations: 1.344 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.9186, allocations: 0 / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.9187, allocations: 11.23 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.9187, allocations: 1.969 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/0.9188, allocations: 12.23 kB / 1.284 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.9188, allocations: 3.406 kB / 1.284 GB, free: 7.977 MB / 0.9981 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 0.0001189/0.9189, allocations: 129 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.9189, allocations: 12.08 kB / 1.284 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.919, allocations: 17.41 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.919, allocations: 1.312 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.919, allocations: 0 / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.919, allocations: 5.953 kB / 1.284 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.9192, allocations: 208.4 kB / 1.284 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9193, allocations: 5.312 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.9193, allocations: 11.48 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.9193, allocations: 0 / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.9194, allocations: 6.859 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9194, allocations: 0 / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9194, allocations: 1.312 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.9196, allocations: 199.9 kB / 1.284 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.9197, allocations: 88.45 kB / 1.285 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.9197, allocations: 6 kB / 1.285 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.9198, allocations: 11.95 kB / 1.285 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.9199, allocations: 17.58 kB / 1.285 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.9199, allocations: 6.141 kB / 1.285 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.92, allocations: 118.2 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.92, allocations: 0 / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002403/0.9203, allocations: 22.83 kB / 1.285 GB, free: 7.23 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: 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.0005949/0.9208, allocations: 0.7315 MB / 1.285 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.9211, allocations: 70.62 kB / 1.286 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9211, allocations: 5.25 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.914e-05/0.9212, allocations: 33.16 kB / 1.286 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.9215, allocations: 15.95 kB / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.9236, allocations: 1.662 MB / 1.287 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.9239, allocations: 0.7014 MB / 1.288 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.924, allocations: 12.02 kB / 1.288 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.924, allocations: 33.34 kB / 1.288 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.924, allocations: 0 / 1.288 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.9429, allocations: 2.717 MB / 1.291 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/9.284, allocations: 8.312 kB / 1.291 GB, free: 3.93 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.218989679007791] Failed to read output from testmodel.py, exit status != 0: 9.40648687700741 9.425816096 8.508605953 Calling exit ...