Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001903/0.001903, allocations: 116 kB / 17.16 MB, free: 5.863 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.002191/0.002191, allocations: 209.5 kB / 20.13 MB, free: 2.922 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.5/1.5, 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 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 3.006/3.006, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",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.002164/0.002164, allocations: 71.83 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9672/0.9694, allocations: 176.1 MB / 1.321 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002312/0.9717, allocations: 1.089 MB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.9735, allocations: 1.66 MB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.9736, allocations: 2.844 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.9737, allocations: 22.98 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.9738, allocations: 43.98 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.9744, allocations: 224.2 kB / 1.324 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.9747, allocations: 332 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.9748, allocations: 63.91 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.9749, allocations: 127.1 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.9751, allocations: 122.1 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.9751, allocations: 32.5 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.9752, allocations: 48.33 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.9752, allocations: 62.41 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.9753, allocations: 123 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.9757, allocations: 362 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9757, allocations: 0 / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9757, allocations: 0 / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.9757, allocations: 0 / 1.326 GB, free: 21.93 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008394/0.9765, allocations: 0.5499 MB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.9766, allocations: 18.92 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.189e-05/0.9766, allocations: 3.062 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.9766, allocations: 51.2 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.9767, allocations: 25.48 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.977, allocations: 266 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.9771, allocations: 22.95 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.9771, allocations: 23.88 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.9775, allocations: 186.9 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9775, allocations: 0 / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.9775, allocations: 9.781 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9775, allocations: 5.125 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.9778, allocations: 137 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/0.9787, allocations: 0.6297 MB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.9792, allocations: 171.7 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.9794, allocations: 77 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.9794, allocations: 14.31 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.9798, allocations: 200 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/0.9798, allocations: 1.219 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.0008434/0.9806, allocations: 326.2 kB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.9807, allocations: 55.12 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.981, allocations: 187.7 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.981, allocations: 40.55 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.9811, allocations: 125.1 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.9812, allocations: 67.75 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.9813, allocations: 71.78 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.9813, allocations: 334.2 kB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.9815, allocations: 94.81 kB / 1.329 GB, free: 19.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.9818, allocations: 146.5 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.9821, allocations: 209.5 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9821, allocations: 0.6875 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000581/0.9826, allocations: 338.2 kB / 1.33 GB, free: 19.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.9827, allocations: 36.02 kB / 1.33 GB, free: 18.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9827, allocations: 5.438 kB / 1.33 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.9827, allocations: 6.594 kB / 1.33 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.9828, allocations: 29.98 kB / 1.33 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9828, allocations: 6.328 kB / 1.33 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.9832, allocations: 51.59 kB / 1.33 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.9832, allocations: 15.16 kB / 1.33 GB, free: 18.94 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0001372/0.9834, allocations: 159 kB / 1.33 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.9834, allocations: 17.25 kB / 1.33 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.984, allocations: 271.4 kB / 1.33 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.984, allocations: 2.797 kB / 1.33 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.984, allocations: 0.6875 kB / 1.33 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.984, allocations: 1.953 kB / 1.33 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.9849, allocations: 0.6638 MB / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9849, allocations: 0.5312 kB / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.985, allocations: 21.08 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.985, allocations: 5.156 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.985, allocations: 9.391 kB / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.985, allocations: 1.672 kB / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.985, allocations: 5.094 kB / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.9855, allocations: 357.4 kB / 1.331 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.9856, allocations: 95.5 kB / 1.332 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.9856, allocations: 14.19 kB / 1.332 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.9858, allocations: 13.52 kB / 1.332 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.9858, allocations: 27.73 kB / 1.332 GB, free: 17.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.9859, allocations: 15.45 kB / 1.332 GB, free: 17.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.36e-05/0.986, allocations: 128.2 kB / 1.332 GB, free: 17.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.986, allocations: 7.938 kB / 1.332 GB, free: 17.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003206/0.9863, allocations: 64.14 kB / 1.332 GB, free: 17.75 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.000783/0.9871, allocations: 0.9114 MB / 1.333 GB, free: 17.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.9876, allocations: 278.7 kB / 1.333 GB, free: 16.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9876, allocations: 0 / 1.333 GB, free: 16.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.9878, allocations: 99.86 kB / 1.333 GB, free: 16.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.9882, allocations: 46.69 kB / 1.333 GB, free: 16.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.9911, allocations: 2.398 MB / 1.335 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.9913, allocations: 0.7321 MB / 1.336 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00011/0.9914, allocations: 24.69 kB / 1.336 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.9915, allocations: 65.45 kB / 1.336 GB, free: 14.34 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.9915, allocations: 4.531 kB / 1.336 GB, free: 14.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/1.015, allocations: 5.186 MB / 1.341 GB, free: 13.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.82/9.834, allocations: 23.75 kB / 1.341 GB, free: 13.72 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.26658342202427] Failed to read output from testmodel.py, exit status != 0: 9.963353372004349 9.97865534 8.99910696 Calling exit ...