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.0008288/0.0008288, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008543/0.0008543, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8663/0.8663, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.776/1.776, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.95e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001791/0.00182, allocations: 1.028 MB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.003801, allocations: 1.618 MB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.003941, allocations: 7.938 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.004089, allocations: 19.69 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.00421, allocations: 47.7 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.004722, allocations: 220.7 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.00507, allocations: 335.2 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.00523, allocations: 59.06 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.005428, allocations: 187.7 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.005542, allocations: 91.73 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.005578, allocations: 32 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.005653, allocations: 51.92 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.005698, allocations: 55.81 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.005783, allocations: 95.8 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.00613, allocations: 390.9 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.006134, allocations: 4 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.562e-06/0.006136, allocations: 0 / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.006142, allocations: 0 / 1.005 GB, free: 8.785 MB / 0.9636 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.0006797/0.006822, allocations: 475.8 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.006864, allocations: 12.75 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.006929, allocations: 24.8 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.007263, allocations: 217.4 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.007289, allocations: 24.64 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.007321, allocations: 24.36 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.007571, allocations: 176.4 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.00758, allocations: 4.188 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.007598, allocations: 8.359 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.007607, allocations: 7.938 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.007795, allocations: 136.7 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.008442, allocations: 0.504 MB / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.008744, allocations: 170.8 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.008852, allocations: 72.83 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.008875, allocations: 0 / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.009148, allocations: 203.1 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.00915, allocations: 0 / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.0004676/0.009617, allocations: 337.3 kB / 1.007 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.009652, allocations: 59.34 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.009783, allocations: 175.8 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.009814, allocations: 41.7 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.009884, allocations: 132.5 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.009929, allocations: 63.58 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.01002, allocations: 73.69 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.01011, allocations: 334.8 kB / 1.008 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.01025, allocations: 129.6 kB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.01042, allocations: 202.1 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.01062, allocations: 210.1 kB / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01063, allocations: 0 / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003758/0.011, allocations: 369 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.01104, allocations: 45.72 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01104, allocations: 4 kB / 1.009 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.01106, allocations: 0 / 1.009 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.01113, allocations: 27.92 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.01113, allocations: 0 / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.01126, allocations: 59.8 kB / 1.009 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.01128, allocations: 8 kB / 1.009 GB, free: 4.289 MB / 0.9636 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.0001139/0.0114, allocations: 157.8 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.01142, allocations: 19.89 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.01176, allocations: 284.2 kB / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01176, allocations: 4 kB / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01177, allocations: 0 / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.01177, allocations: 0 / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/0.01243, allocations: 0.5763 MB / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01243, allocations: 4 kB / 1.01 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.01247, allocations: 15.98 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01247, allocations: 4 kB / 1.01 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01248, allocations: 3.984 kB / 1.01 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.01249, allocations: 4 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01249, allocations: 0 / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.0128, allocations: 372.1 kB / 1.011 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.01281, allocations: 15.84 kB / 1.011 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.01284, allocations: 12 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.01292, allocations: 23.97 kB / 1.011 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.01298, allocations: 23.95 kB / 1.011 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.013, allocations: 12 kB / 1.011 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.316e-05/0.01307, allocations: 132.2 kB / 1.011 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01307, allocations: 7.938 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002176/0.01329, allocations: 59.89 kB / 1.011 GB, free: 2.508 MB / 0.9636 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.0001586/0.01345, allocations: 133.8 kB / 1.011 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.01379, allocations: 312.8 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0138, allocations: 0 / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.01393, allocations: 99.89 kB / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.01418, allocations: 54.08 kB / 1.011 GB, free: 1.898 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.01464, allocations: 388.5 kB / 1.012 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.722e-05/0.01471, allocations: 117.3 kB / 1.012 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.01476, allocations: 32.48 kB / 1.012 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of SimCode: time 8.52e-07/0.01476, allocations: 0 / 1.012 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.003845/0.01861, allocations: 3.131 MB / 1.015 GB, free: 14.2 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.82061680033803]