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.001262/0.001262, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001561/0.001561, allocations: 215.9 kB / 23.03 MB, free: 4.949 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.26/3.26, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.001977/0.001977, allocations: 67.89 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002501/0.3442, allocations: 1.026 MB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3465, allocations: 1.607 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.3466, allocations: 3.938 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3467, allocations: 31.73 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3469, allocations: 39.66 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.3475, allocations: 223.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.3478, allocations: 331.2 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.348, allocations: 63.02 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3482, allocations: 127.7 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3483, allocations: 119.5 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.3484, allocations: 32 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.3485, allocations: 47.98 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.3486, allocations: 59.77 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3487, allocations: 107.6 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.3491, allocations: 366.9 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3491, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3491, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3491, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 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.0008976/0.35, allocations: 483.7 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3501, allocations: 8.031 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.1e-05/0.3501, allocations: 12.47 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.3501, allocations: 46.73 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.3502, allocations: 24.84 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.3506, allocations: 214.1 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.3506, allocations: 20.64 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.3507, allocations: 28.31 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3511, allocations: 175.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3511, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.3511, allocations: 15.98 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3511, allocations: 4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.3515, allocations: 136.7 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.3525, allocations: 0.5344 MB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.3529, allocations: 170.8 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.3531, allocations: 72.83 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3531, allocations: 11.92 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.3535, allocations: 199.1 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.3535, allocations: 4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0007642/0.3543, allocations: 327.2 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3544, allocations: 63.39 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3545, allocations: 182.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.3546, allocations: 37.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3547, allocations: 132.6 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.3548, allocations: 59.53 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3549, allocations: 73.69 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3551, allocations: 330.8 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.3553, allocations: 129.7 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.3557, allocations: 204.1 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.356, allocations: 213 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.356, allocations: 7.938 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006001/0.3566, allocations: 369.5 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.3567, allocations: 43.41 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3567, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3567, allocations: 4 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3568, allocations: 23.92 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3568, allocations: 4 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.3571, allocations: 55.91 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.3571, allocations: 12 kB / 1.335 GB, free: 8.738 MB / 1.029 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.0001687/0.3573, allocations: 153.7 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.3573, allocations: 23.89 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.3579, allocations: 277.6 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3579, allocations: 4 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3579, allocations: 4 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3579, allocations: 3.938 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/0.3589, allocations: 0.6109 MB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3589, allocations: 0 / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/0.3589, allocations: 15.98 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3589, allocations: 0 / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.359, allocations: 11.98 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.359, allocations: 3.938 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.359, allocations: 3.938 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.3595, allocations: 368.7 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.3596, allocations: 23.84 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.3596, allocations: 8 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3598, allocations: 19.97 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.3599, allocations: 27.89 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.3599, allocations: 15.98 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001146/0.36, allocations: 123.2 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.36, allocations: 0 / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003308/0.3603, allocations: 67.89 kB / 1.337 GB, free: 6.914 MB / 1.029 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.000996/0.3613, allocations: 0.9134 MB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.3619, allocations: 324.5 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3619, allocations: 0 / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.3621, allocations: 91.91 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.3625, allocations: 48.03 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.3658, allocations: 2.536 MB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.366, allocations: 121.3 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.973e-05/0.3661, allocations: 25.95 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.3662, allocations: 63.41 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3662, allocations: 4 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.3941, allocations: 5.615 MB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.25, allocations: 5.906 kB / 1.346 GB, free: 13.2 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.002627682988532] Failed to read output from testmodel.py, exit status != 0: 12.4149404669879 12.445120314 12.090748904 Calling exit ...