Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00146/0.00146, allocations: 120 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.001687/0.001687, 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.519/1.519, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.932/2.932, allocations: 0.5003 GB / 0.8026 GB, free: 6.855 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="Buildings_latest_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.001959/0.001959, allocations: 63.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9528/0.9548, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.00239/0.9572, allocations: 1.097 MB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.9595, allocations: 1.655 MB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.9597, allocations: 10.94 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.9599, allocations: 18.98 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.9601, allocations: 43.59 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.9608, allocations: 220.8 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.9611, allocations: 332.8 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.9613, allocations: 56.77 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.9615, allocations: 133 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.9617, allocations: 118 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.9617, allocations: 32.12 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.9618, allocations: 50.39 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.9619, allocations: 57.73 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.962, allocations: 123.1 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.9625, allocations: 362.6 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9625, allocations: 0 / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9625, allocations: 0 / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.9625, allocations: 1.062 kB / 1.344 GB, free: 13.59 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.0009458/0.9635, allocations: 0.5585 MB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.9635, allocations: 9.531 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.119e-05/0.9635, allocations: 4 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.9636, allocations: 48.34 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.9636, allocations: 26.89 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.964, allocations: 268 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.9641, allocations: 16.36 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.9641, allocations: 30.16 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.9645, allocations: 178 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9645, allocations: 0 / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.9646, allocations: 10.81 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.9646, allocations: 3.438 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.9649, allocations: 140.1 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009357/0.9658, allocations: 0.6407 MB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.9663, allocations: 175.2 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.9664, allocations: 72.52 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.9665, allocations: 9.828 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.9668, allocations: 205.4 kB / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.9668, allocations: 0 / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.0007799/0.9676, allocations: 326.2 kB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.9677, allocations: 60.3 kB / 1.347 GB, free: 11.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.9678, allocations: 175.6 kB / 1.347 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.9679, allocations: 44.64 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.968, allocations: 124.4 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.968, allocations: 62.34 kB / 1.347 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.9681, allocations: 74.19 kB / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.9682, allocations: 330.7 kB / 1.348 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.9684, allocations: 102.5 kB / 1.348 GB, free: 11.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.9686, allocations: 147.8 kB / 1.348 GB, free: 10.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.9689, allocations: 210.3 kB / 1.348 GB, free: 10.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9689, allocations: 0 / 1.348 GB, free: 10.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005163/0.9694, allocations: 340.9 kB / 1.349 GB, free: 10.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.9694, allocations: 38.64 kB / 1.349 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9694, allocations: 1.375 kB / 1.349 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9695, allocations: 6.656 kB / 1.349 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9696, allocations: 29.2 kB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.9696, allocations: 2.969 kB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.9699, allocations: 51.81 kB / 1.349 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.9699, allocations: 12.06 kB / 1.349 GB, free: 10.61 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.0001239/0.97, allocations: 166.6 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.9701, allocations: 20.56 kB / 1.349 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.9706, allocations: 270.2 kB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.9706, allocations: 3.438 kB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9706, allocations: 0 / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.9706, allocations: 5.312 kB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.9715, allocations: 0.652 MB / 1.35 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.9715, allocations: 0 / 1.35 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.9716, allocations: 12.84 kB / 1.35 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9716, allocations: 1.281 kB / 1.35 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.9716, allocations: 13.91 kB / 1.35 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9716, allocations: 5.281 kB / 1.35 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9716, allocations: 5.969 kB / 1.35 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.9721, allocations: 363.3 kB / 1.35 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.9721, allocations: 103.4 kB / 1.35 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.9722, allocations: 10.03 kB / 1.35 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.9723, allocations: 17.36 kB / 1.35 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.9724, allocations: 28.58 kB / 1.35 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.9724, allocations: 14.98 kB / 1.35 GB, free: 9.523 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.614e-05/0.9725, allocations: 132 kB / 1.35 GB, free: 9.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9725, allocations: 0 / 1.35 GB, free: 9.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003497/0.9729, allocations: 60.58 kB / 1.35 GB, free: 9.418 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.0007718/0.9737, allocations: 0.921 MB / 1.351 GB, free: 8.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.9742, allocations: 280.5 kB / 1.352 GB, free: 8.523 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.9742, allocations: 0 / 1.352 GB, free: 8.523 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.9744, allocations: 95.81 kB / 1.352 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.9749, allocations: 56.66 kB / 1.352 GB, free: 8.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.9775, allocations: 2.403 MB / 1.354 GB, free: 6.738 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.9777, allocations: 0.7332 MB / 1.355 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000106/0.9778, allocations: 24 kB / 1.355 GB, free: 6.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.9779, allocations: 73.31 kB / 1.355 GB, free: 5.984 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.9779, allocations: 0 / 1.355 GB, free: 5.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/1.002, allocations: 5.19 MB / 1.36 GB, free: 5.367 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.742/9.744, allocations: 17.42 kB / 1.36 GB, free: 5.359 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.254195790039375] Failed to read output from testmodel.py, exit status != 0: 9.876543785037939 9.897980742 8.931207216 Calling exit ...