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.002388/0.002388, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002841/0.002841, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.112/3.112, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.692e-05/4.933e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002708/0.002757, allocations: 1.064 MB / 0.8119 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.005687, allocations: 1.617 MB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.005833, allocations: 4 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.005993, allocations: 23.67 kB / 0.8135 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.006157, allocations: 41 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006548/0.006812, allocations: 219.5 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.007271, allocations: 335.2 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.007443, allocations: 52.67 kB / 0.8141 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.007748, allocations: 191.6 kB / 0.8143 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.007923, allocations: 91.73 kB / 0.8144 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.919e-05/0.008003, allocations: 32 kB / 0.8144 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.008119, allocations: 48.66 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.008197, allocations: 55.81 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.008352, allocations: 100.3 kB / 0.8146 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.008922, allocations: 390.8 kB / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.008935, allocations: 1.656 kB / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.823e-06/0.008937, allocations: 0 / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.008944, allocations: 0 / 0.815 GB, free: 13.89 MB / 0.7761 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.001166/0.01011, allocations: 0.5857 MB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.01015, allocations: 8.031 kB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.01028, allocations: 40.8 kB / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.01069, allocations: 213.4 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.01073, allocations: 16.66 kB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.01078, allocations: 25.75 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.01122, allocations: 181.5 kB / 0.816 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.01123, allocations: 192 / 0.816 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.01126, allocations: 14.02 kB / 0.816 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.01127, allocations: 11.92 kB / 0.816 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.01163, allocations: 132.7 kB / 0.8161 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.01277, allocations: 0.5944 MB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.01332, allocations: 197.4 kB / 0.8169 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.01352, allocations: 75.66 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.479e-05/0.01356, allocations: 7.984 kB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.01402, allocations: 207 kB / 0.8172 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.01402, allocations: 0 / 0.8172 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.001146/0.01517, allocations: 348.8 kB / 0.8175 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.01523, allocations: 57.25 kB / 0.8176 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.01553, allocations: 270.8 kB / 0.8178 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.01558, allocations: 45.64 kB / 0.8179 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.01573, allocations: 175.4 kB / 0.818 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.557e-05/0.01583, allocations: 75.5 kB / 0.8181 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.01599, allocations: 95.34 kB / 0.8182 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003165/0.01631, allocations: 0.5219 MB / 0.8187 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.01657, allocations: 133.7 kB / 0.8188 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.01691, allocations: 227.9 kB / 0.8191 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.0173, allocations: 240.1 kB / 0.8193 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.0173, allocations: 5.125 kB / 0.8193 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007304/0.01803, allocations: 397 kB / 0.8197 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.01809, allocations: 42.19 kB / 0.8197 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.0181, allocations: 4.906 kB / 0.8197 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.01812, allocations: 0 / 0.8197 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01825, allocations: 27.92 kB / 0.8198 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.01827, allocations: 4.844 kB / 0.8198 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.01851, allocations: 49.47 kB / 0.8198 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.01855, allocations: 12 kB / 0.8198 GB, free: 8.652 MB / 0.7761 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.0002213/0.01877, allocations: 204 kB / 0.82 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.01883, allocations: 27.89 kB / 0.82 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.01947, allocations: 291.4 kB / 0.8203 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.01948, allocations: 0 / 0.8203 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.01948, allocations: 0 / 0.8203 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.01949, allocations: 7.984 kB / 0.8203 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.02062, allocations: 0.658 MB / 0.821 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02062, allocations: 0 / 0.821 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.0207, allocations: 15.98 kB / 0.821 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.02071, allocations: 0 / 0.821 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.02073, allocations: 11.98 kB / 0.821 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.02074, allocations: 3.938 kB / 0.821 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02074, allocations: 1 kB / 0.821 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.02143, allocations: 438.3 kB / 0.8214 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.02146, allocations: 19.83 kB / 0.8214 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.02152, allocations: 12 kB / 0.8214 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.02168, allocations: 13.11 kB / 0.8215 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.02177, allocations: 27.95 kB / 0.8215 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.02181, allocations: 21.05 kB / 0.8215 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001709/0.02198, allocations: 176.2 kB / 0.8217 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02198, allocations: 0 / 0.8217 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003462/0.02233, allocations: 68.75 kB / 0.8217 GB, free: 6.629 MB / 0.7761 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.0002518/0.02258, allocations: 129.3 kB / 0.8219 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007098/0.02329, allocations: 361.1 kB / 0.8222 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02329, allocations: 0 / 0.8222 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.02356, allocations: 120.9 kB / 0.8223 GB, free: 6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.024, allocations: 55.88 kB / 0.8224 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.02486, allocations: 381.6 kB / 0.8227 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.025, allocations: 121.5 kB / 0.8229 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.551e-05/0.02509, allocations: 29.94 kB / 0.8229 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.02517, allocations: 26.06 kB / 0.8229 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of SimCode: time 7.32e-07/0.02517, allocations: 0 / 0.8229 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of Templates: time 0.009268/0.03444, allocations: 3.56 MB / 0.8264 GB, free: 1.887 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.33334776503034]