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.001699/0.001699, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002045/0.002045, allocations: 221 kB / 23.04 MB, free: 5.074 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 3.216/3.216, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.001924/0.001924, allocations: 71.08 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3521, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.0026/0.3547, allocations: 1.089 MB / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.3574, allocations: 1.669 MB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.3575, allocations: 4 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3577, allocations: 15.75 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.3578, allocations: 47.64 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.3584, allocations: 218.4 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.3588, allocations: 331.3 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.359, allocations: 62.8 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3592, allocations: 135.6 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.3593, allocations: 119.5 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.3594, allocations: 32 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-05/0.3595, allocations: 47.98 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.3595, allocations: 55.83 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.3597, allocations: 123.4 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.3601, allocations: 363 kB / 1.35 GB, free: 12.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3601, allocations: 4 kB / 1.35 GB, free: 12.15 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3601, allocations: 4 kB / 1.35 GB, free: 12.15 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3601, allocations: 0 / 1.35 GB, free: 12.15 MB / 1.045 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.0009193/0.361, allocations: 483.7 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3611, allocations: 8.031 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.389e-05/0.3611, allocations: 4.469 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.3611, allocations: 50.67 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.3612, allocations: 36.78 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.3616, allocations: 202.2 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3616, allocations: 20.66 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.3617, allocations: 24.31 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.3621, allocations: 183.7 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3621, allocations: 0 / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.3621, allocations: 8 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3621, allocations: 4 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.3625, allocations: 140.7 kB / 1.351 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.3635, allocations: 0.6084 MB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.364, allocations: 174.8 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3642, allocations: 72.83 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3642, allocations: 3.938 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004116/0.3646, allocations: 211 kB / 1.352 GB, free: 9.805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.3646, allocations: 3.938 kB / 1.352 GB, free: 9.801 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.0007727/0.3654, allocations: 325.3 kB / 1.352 GB, free: 9.477 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3655, allocations: 55.41 kB / 1.352 GB, free: 9.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.3657, allocations: 182.2 kB / 1.352 GB, free: 9.219 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.3657, allocations: 45.64 kB / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3659, allocations: 120.6 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.3659, allocations: 75.52 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.3661, allocations: 69.69 kB / 1.353 GB, free: 8.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3662, allocations: 334.8 kB / 1.353 GB, free: 8.562 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.3664, allocations: 95.72 kB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.3667, allocations: 140.1 kB / 1.353 GB, free: 8.316 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.367, allocations: 217 kB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.367, allocations: 0 / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006077/0.3676, allocations: 343.2 kB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.3677, allocations: 35.42 kB / 1.354 GB, free: 7.699 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3677, allocations: 0 / 1.354 GB, free: 7.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3677, allocations: 7.938 kB / 1.354 GB, free: 7.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3678, allocations: 23.98 kB / 1.354 GB, free: 7.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.3678, allocations: 15.98 kB / 1.354 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.3681, allocations: 43.86 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.3681, allocations: 15.98 kB / 1.354 GB, free: 7.594 MB / 1.045 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.0001874/0.3683, allocations: 157.8 kB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3684, allocations: 19.86 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.3689, allocations: 280.3 kB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3689, allocations: 0 / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3689, allocations: 0 / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3689, allocations: 4 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.3699, allocations: 0.6344 MB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3699, allocations: 0 / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.37, allocations: 19.94 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.37, allocations: 4 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.3701, allocations: 11.98 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3701, allocations: 0 / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3701, allocations: 3.938 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.3706, allocations: 352.2 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.3706, allocations: 23.8 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.3707, allocations: 19.92 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3708, allocations: 15.98 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.3709, allocations: 31.89 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.371, allocations: 11.98 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001218/0.3711, allocations: 127.2 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3711, allocations: 3.938 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003259/0.3714, allocations: 59.94 kB / 1.355 GB, free: 5.754 MB / 1.045 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.0009902/0.3724, allocations: 0.9135 MB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005414/0.3729, allocations: 283.1 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3729, allocations: 0 / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.3732, allocations: 96.03 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3736, allocations: 55.97 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.3767, allocations: 2.397 MB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.3771, allocations: 0.7284 MB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.597e-05/0.3772, allocations: 25.95 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.3773, allocations: 67.41 kB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of SimCode: time 9.12e-07/0.3773, allocations: 0 / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.4042, allocations: 5.408 MB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.05, allocations: 15.58 kB / 1.365 GB, free: 11.78 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.823605029960163] Failed to read output from testmodel.py, exit status != 0: 12.215671087964438 12.245366809 11.879713485 Calling exit ...