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.001045/0.001045, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001147/0.001147, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9712/0.9712, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.97/1.97, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] 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.555e-06/2.555e-06, allocations: 0 / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.538e-05, allocations: 8.141 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001713/0.001739, allocations: 1.062 MB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.003627, allocations: 1.636 MB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.003741, allocations: 8.969 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.003862, allocations: 19.73 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.003966, allocations: 56.28 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.004371, allocations: 207.5 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.004626, allocations: 337.6 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.00475, allocations: 55.02 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.004935, allocations: 191.5 kB / 0.8155 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.00504, allocations: 87.75 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.005075, allocations: 32 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.005145, allocations: 43.98 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.005184, allocations: 52.78 kB / 0.8157 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.018e-05/0.005264, allocations: 95.8 kB / 0.8158 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.005488, allocations: 220.3 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00549, allocations: 3.938 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005491, allocations: 0 / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.005495, allocations: 1.344 kB / 0.816 GB, free: 13.38 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.0005952/0.00609, allocations: 0.5739 MB / 0.8166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.006127, allocations: 8.031 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.006195, allocations: 40.8 kB / 0.8166 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.00641, allocations: 213.9 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.006439, allocations: 24.64 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.006465, allocations: 20.38 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.006664, allocations: 142 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.006673, allocations: 4.188 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.006687, allocations: 4.375 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.006695, allocations: 8.469 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.006798, allocations: 78.62 kB / 0.8171 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.007385, allocations: 0.5132 MB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.007579, allocations: 135.1 kB / 0.8177 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.007626, allocations: 36.2 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.007647, allocations: 9.375 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.007821, allocations: 163 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.007822, allocations: 0 / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0003013/0.008124, allocations: 237.5 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.008162, allocations: 59.41 kB / 0.8182 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.008273, allocations: 226.7 kB / 0.8184 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.008302, allocations: 42.55 kB / 0.8185 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.00837, allocations: 175.4 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.008411, allocations: 64.3 kB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.008489, allocations: 83.3 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.008601, allocations: 0.5039 MB / 0.8193 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.008677, allocations: 78.94 kB / 0.8193 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.008783, allocations: 162.4 kB / 0.8195 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.008915, allocations: 165.1 kB / 0.8196 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.008918, allocations: 1.156 kB / 0.8196 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002764/0.009195, allocations: 297 kB / 0.8199 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.009224, allocations: 39.06 kB / 0.82 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.00923, allocations: 7.938 kB / 0.82 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.009242, allocations: 3.938 kB / 0.82 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.009318, allocations: 31.92 kB / 0.82 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.009322, allocations: 5.469 kB / 0.82 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.009429, allocations: 35.92 kB / 0.82 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.009446, allocations: 14.88 kB / 0.8201 GB, free: 8.961 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.0001006/0.009547, allocations: 196.5 kB / 0.8202 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.009576, allocations: 27.91 kB / 0.8203 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.009804, allocations: 211.4 kB / 0.8205 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.009809, allocations: 7.938 kB / 0.8205 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00981, allocations: 0.5 kB / 0.8205 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009814, allocations: 1.938 kB / 0.8205 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.01024, allocations: 0.5201 MB / 0.821 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.01024, allocations: 3.984 kB / 0.821 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.01028, allocations: 16 kB / 0.821 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01029, allocations: 3.938 kB / 0.821 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.0103, allocations: 12.92 kB / 0.821 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.0103, allocations: 0 / 0.821 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.0103, allocations: 3.938 kB / 0.821 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.01052, allocations: 357.2 kB / 0.8214 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.01055, allocations: 24.48 kB / 0.8214 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.01057, allocations: 15.94 kB / 0.8214 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.01065, allocations: 18.73 kB / 0.8214 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.01069, allocations: 27.89 kB / 0.8215 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.01071, allocations: 11.98 kB / 0.8215 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.01077, allocations: 160.1 kB / 0.8216 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01077, allocations: 0 / 0.8216 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001911/0.01096, allocations: 63.94 kB / 0.8217 GB, free: 7.246 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.0001401/0.0111, allocations: 130 kB / 0.8218 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.01132, allocations: 236.6 kB / 0.822 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01132, allocations: 0 / 0.822 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.0114, allocations: 85.09 kB / 0.8221 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01163, allocations: 54.11 kB / 0.8222 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.01207, allocations: 350.8 kB / 0.8225 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.01213, allocations: 80.33 kB / 0.8226 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.416e-05/0.0122, allocations: 32.61 kB / 0.8226 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.01234, allocations: 130.2 kB / 0.8227 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01234, allocations: 0 / 0.8227 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of Templates: time 0.005178/0.01752, allocations: 3.872 MB / 0.8265 GB, free: 2.312 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.297510319855064]