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.001331/0.001331, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001504/0.001504, allocations: 217.4 kB / 22.99 MB, free: 4.965 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.184/3.184, allocations: 0.4892 GB / 0.7951 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [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.002096/0.002096, allocations: 73.73 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002413/0.3553, allocations: 1.026 MB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3577, allocations: 1.619 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3579, allocations: 7.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.358, allocations: 23.73 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.3581, allocations: 43.64 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.3587, allocations: 219 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.3591, allocations: 327.3 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.3592, allocations: 55.03 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.3594, allocations: 135.6 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3596, allocations: 103.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.3596, allocations: 32 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.402e-05/0.3597, allocations: 47.98 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.3598, allocations: 55.78 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.3599, allocations: 99.62 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.3603, allocations: 370.7 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3603, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 7.52e-07/0.3603, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3603, allocations: 0 / 1.33 GB, free: 13.71 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.0008302/0.3611, allocations: 495.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.421e-05/0.3612, allocations: 12.03 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.3612, allocations: 20.84 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.3616, allocations: 210.1 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.3616, allocations: 20.64 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.3617, allocations: 20.38 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.3621, allocations: 180.1 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3621, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.3621, allocations: 7.984 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3621, allocations: 4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.3625, allocations: 136.7 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009675/0.3634, allocations: 0.5117 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.3639, allocations: 174.8 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3641, allocations: 72.83 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3641, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003928/0.3645, allocations: 203.1 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.3645, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0007671/0.3653, allocations: 339.5 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.3653, allocations: 59.41 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3655, allocations: 178.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.3655, allocations: 41.7 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3657, allocations: 132.6 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.3657, allocations: 59.55 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.3659, allocations: 69.69 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.366, allocations: 334.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.3662, allocations: 125.7 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.3665, allocations: 211.9 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.3669, allocations: 205 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3669, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006166/0.3675, allocations: 381.4 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.3675, allocations: 44.03 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3675, allocations: 4 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3675, allocations: 0 / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3677, allocations: 27.92 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3677, allocations: 96 / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.3679, allocations: 63.78 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.368, allocations: 8 kB / 1.335 GB, free: 9.184 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.0001694/0.3681, allocations: 153.8 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.3682, allocations: 23.83 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.3687, allocations: 278.2 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3687, allocations: 7.984 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3688, allocations: 0 / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3688, allocations: 0 / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.3697, allocations: 0.5724 MB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3697, allocations: 0 / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.3698, allocations: 19.92 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3698, allocations: 4 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3698, allocations: 3.984 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3698, allocations: 4 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3698, allocations: 4 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.3704, allocations: 365.2 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.3704, allocations: 15.84 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.3704, allocations: 12 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.3706, allocations: 27.91 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.3707, allocations: 23.95 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3707, allocations: 11.98 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001199/0.3708, allocations: 123.2 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3708, allocations: 7.938 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003202/0.3711, allocations: 63.89 kB / 1.336 GB, free: 7.414 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.0001875/0.3713, allocations: 123.2 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000591/0.3719, allocations: 320.8 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3719, allocations: 0 / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3721, allocations: 96.02 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3725, allocations: 47.97 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.3733, allocations: 396.5 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3734, allocations: 121.3 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.3735, allocations: 27.42 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3735, allocations: 3.938 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of Templates: time 0.005657/0.3792, allocations: 3.133 MB / 1.34 GB, free: 3.113 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.259627042803913]