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.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009792/0.0009792, allocations: 161 kB / 23.82 MB, free: 0.75 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.03/1.03, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.935/1.935, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.525e-06/2.525e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.736e-05, allocations: 3.297 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001823/0.00185, allocations: 1.081 MB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.003967, allocations: 1.644 MB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.004138, allocations: 7.938 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.004321, allocations: 15.75 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.004466, allocations: 48.3 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.005049, allocations: 220.3 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.005429, allocations: 331.2 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.00559, allocations: 56.27 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.005814, allocations: 191.6 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.005941, allocations: 91.73 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.005985, allocations: 33.72 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-05/0.006065, allocations: 40 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.006113, allocations: 59.8 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.006225, allocations: 87.81 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.006497, allocations: 232.5 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.0065, allocations: 0 / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.006501, allocations: 0 / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.006506, allocations: 0 / 0.8156 GB, free: 13.61 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.0007273/0.007234, allocations: 0.5622 MB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.007276, allocations: 8.875 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.007363, allocations: 44.78 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.007634, allocations: 213.1 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.007665, allocations: 17.31 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.0077, allocations: 24.38 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.007961, allocations: 163.5 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.007973, allocations: 4.188 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.007993, allocations: 12.3 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.008003, allocations: 7.938 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.008161, allocations: 85.38 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.008829, allocations: 0.5391 MB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.009081, allocations: 136.5 kB / 0.8173 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.009165, allocations: 56.19 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.00919, allocations: 4 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.009399, allocations: 168 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.009401, allocations: 0 / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0003947/0.009796, allocations: 273 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.00983, allocations: 59.34 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.009964, allocations: 227.9 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.009995, allocations: 41.7 kB / 0.8181 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.01007, allocations: 169.2 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.01012, allocations: 67.47 kB / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.01021, allocations: 79.34 kB / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.01032, allocations: 0.5001 MB / 0.8189 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.01045, allocations: 89.66 kB / 0.819 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.01059, allocations: 183.2 kB / 0.8192 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.01077, allocations: 174.4 kB / 0.8193 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01077, allocations: 0 / 0.8193 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003534/0.01112, allocations: 321 kB / 0.8196 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.01116, allocations: 45.56 kB / 0.8197 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01116, allocations: 4 kB / 0.8197 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01118, allocations: 0.5625 kB / 0.8197 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.01126, allocations: 31.36 kB / 0.8197 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.01127, allocations: 4 kB / 0.8197 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01139, allocations: 43.86 kB / 0.8198 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.01141, allocations: 8 kB / 0.8198 GB, free: 9.031 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.0001088/0.01152, allocations: 192.5 kB / 0.82 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.01155, allocations: 28.41 kB / 0.82 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.01184, allocations: 223.9 kB / 0.8202 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01184, allocations: 0.5625 kB / 0.8202 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01185, allocations: 7.984 kB / 0.8202 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01185, allocations: 1.406 kB / 0.8202 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.01237, allocations: 0.5742 MB / 0.8208 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01237, allocations: 0 / 0.8208 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.01241, allocations: 16.55 kB / 0.8208 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01242, allocations: 7.984 kB / 0.8208 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01243, allocations: 4.797 kB / 0.8208 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01243, allocations: 4 kB / 0.8208 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01244, allocations: 0.9375 kB / 0.8208 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.01272, allocations: 382.8 kB / 0.8212 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.01274, allocations: 21.17 kB / 0.8212 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.01278, allocations: 16 kB / 0.8212 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.01285, allocations: 15.98 kB / 0.8212 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.01292, allocations: 29.45 kB / 0.8212 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.01294, allocations: 11.98 kB / 0.8213 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001032/0.01304, allocations: 164.1 kB / 0.8214 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01304, allocations: 0 / 0.8214 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002332/0.01327, allocations: 75.53 kB / 0.8215 GB, free: 7.223 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.000148/0.01342, allocations: 121.2 kB / 0.8216 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.01374, allocations: 260.6 kB / 0.8218 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01375, allocations: 3.938 kB / 0.8218 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01385, allocations: 86.42 kB / 0.8219 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01413, allocations: 53.89 kB / 0.822 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.01466, allocations: 351.3 kB / 0.8223 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.0147, allocations: 77.42 kB / 0.8224 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.294e-05/0.01477, allocations: 28.59 kB / 0.8224 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.01482, allocations: 28.5 kB / 0.8224 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of SimCode: time 1.112e-06/0.01482, allocations: 0 / 0.8224 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.005645/0.02046, allocations: 3.627 MB / 0.826 GB, free: 2.625 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.35395296709612]