Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.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.001127/0.001127, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001514/0.001514, allocations: 169 kB / 24.28 MB, free: 280 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.9466/0.9466, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.821/1.821, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.798e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001693/0.001711, allocations: 1.486 MB / 0.8129 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005699/0.00228, allocations: 456.3 kB / 0.8134 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.002316, allocations: 4 kB / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.00234, allocations: 3.938 kB / 0.8134 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.002411, allocations: 9.078 kB / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.002548, allocations: 23.86 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.002651, allocations: 51.78 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.002729, allocations: 9.594 kB / 0.8135 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.206e-05/0.002801, allocations: 35.83 kB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.00286, allocations: 15.98 kB / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.002879, allocations: 4 kB / 0.8135 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.002889, allocations: 4.719 kB / 0.8135 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.00291, allocations: 3.938 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.002945, allocations: 16.52 kB / 0.8135 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003062, allocations: 35.89 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003064, allocations: 1.656 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003066, allocations: 4 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003069, allocations: 0 / 0.8136 GB, free: 15.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004286/0.003498, allocations: 415.3 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.003531, allocations: 8.031 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.00357, allocations: 13.7 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.003655, allocations: 112.6 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.003667, allocations: 5.531 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003677, allocations: 4.375 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.003771, allocations: 87.84 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.003777, allocations: 1.562 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.003785, allocations: 384 / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.003795, allocations: 3.938 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.003834, allocations: 41.69 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.004127, allocations: 261.5 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.004203, allocations: 68.69 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.004245, allocations: 45.52 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.004263, allocations: 3.984 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.004392, allocations: 146.9 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.004393, allocations: 0 / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002242/0.004618, allocations: 194.7 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.004655, allocations: 77.19 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.004731, allocations: 177.9 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.004741, allocations: 25.7 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.004784, allocations: 132.5 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.0048, allocations: 19.8 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.004835, allocations: 35.36 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.004945, allocations: 0.4884 MB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.454e-05/0.00498, allocations: 37.7 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.005021, allocations: 73.19 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.005108, allocations: 116.5 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00511, allocations: 0 / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001062/0.005216, allocations: 149 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.005243, allocations: 36.28 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.005248, allocations: 4 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.00526, allocations: 0 / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.0053, allocations: 7.938 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.005305, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.00534, allocations: 7.953 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.005347, allocations: 8 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 7.139e-05/0.005418, allocations: 195.8 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.005433, allocations: 11.94 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.005452, allocations: 8.438 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005454, allocations: 0.9062 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.005456, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.005461, allocations: 4.828 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.005745, allocations: 420.7 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005747, allocations: 0 / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-06/0.005751, allocations: 6.125 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005753, allocations: 0 / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.005762, allocations: 11.94 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.005764, allocations: 4.062 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.005766, allocations: 3.984 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.005926, allocations: 303.2 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.005935, allocations: 12.88 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.005953, allocations: 0 / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.006005, allocations: 17.05 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.006047, allocations: 3.984 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.00606, allocations: 8 kB / 0.8172 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001066/0.006166, allocations: 132.3 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006166, allocations: 0 / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001498/0.006316, allocations: 16 kB / 0.8174 GB, free: 11.66 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 6.958e-05/0.006386, allocations: 100.3 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.006529, allocations: 167.2 kB / 0.8176 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006531, allocations: 5.875 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.006589, allocations: 113.6 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.006785, allocations: 29.25 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.00704, allocations: 175.9 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.007073, allocations: 68.62 kB / 0.818 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.007093, allocations: 0 / 0.818 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.007115, allocations: 12.5 kB / 0.818 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.007116, allocations: 0.875 kB / 0.818 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of Templates: time 0.002465/0.009581, allocations: 0.9349 MB / 0.8189 GB, free: 10.01 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Discrete_Examples_BooleanDelay.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: 4.808375985128805]