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.001035/0.001035, 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.000977/0.000977, 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 0.9809/0.9809, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.96/1.96, allocations: 377.8 MB / 0.6236 GB, free: 8.516 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.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 2.144e-06/2.144e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.659e-05, allocations: 4.281 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002437/0.002474, allocations: 1.483 MB / 0.8129 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007237/0.003198, allocations: 461.7 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.00324, allocations: 0 / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.003275, allocations: 3.938 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.995e-05/0.003365, allocations: 11.88 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.003539, allocations: 24.44 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.003653, allocations: 52.5 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.003751, allocations: 4 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.003832, allocations: 32.44 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.003905, allocations: 25.22 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.003929, allocations: 0 / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.00394, allocations: 4 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.003964, allocations: 4 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.004007, allocations: 16.45 kB / 0.8135 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.004131, allocations: 37.27 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.004134, allocations: 4 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004135, allocations: 0 / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.00414, allocations: 0 / 0.8136 GB, free: 15.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005281/0.004668, allocations: 415.4 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.00471, allocations: 9.219 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.004759, allocations: 12.89 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.004873, allocations: 116.5 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.004895, allocations: 5.5 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.004911, allocations: 4.375 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.005046, allocations: 71.94 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.005059, allocations: 1 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.005074, allocations: 4.375 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.005084, allocations: 5.156 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.005146, allocations: 41.69 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.005532, allocations: 259.8 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/0.005619, allocations: 74 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.00566, allocations: 49.5 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.005681, allocations: 0 / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.00583, allocations: 130 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.005832, allocations: 0 / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0003072/0.006139, allocations: 198.6 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.006185, allocations: 81.11 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.006278, allocations: 172.7 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.006295, allocations: 33.7 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.006345, allocations: 126.9 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.00637, allocations: 31.84 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.006417, allocations: 35.31 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002897/0.006707, allocations: 0.4884 MB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.006747, allocations: 37.7 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.006808, allocations: 73.23 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.006901, allocations: 120.9 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006904, allocations: 0 / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000161/0.007065, allocations: 156.9 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.007095, allocations: 29.7 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.0071, allocations: 0 / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.007119, allocations: 5.719 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.176e-05/0.007171, allocations: 4 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.007176, allocations: 0 / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.007225, allocations: 11.94 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.007234, allocations: 8.875 kB / 0.8163 GB, free: 12.52 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 9.354e-05/0.007328, allocations: 192.9 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.007347, allocations: 12.78 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.007376, allocations: 8.438 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.007379, allocations: 4.828 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.007383, allocations: 0 / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007387, allocations: 1.281 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.007739, allocations: 420.8 kB / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.007742, allocations: 4 kB / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.007749, allocations: 4 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007752, allocations: 0.8438 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.007762, allocations: 3.984 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.007764, allocations: 2.906 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.007766, allocations: 4 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.00796, allocations: 311.2 kB / 0.8172 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.007972, allocations: 7.938 kB / 0.8172 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.007994, allocations: 4 kB / 0.8172 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.008072, allocations: 7.984 kB / 0.8172 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.008115, allocations: 7.984 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.00813, allocations: 6.625 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.008174, allocations: 127.2 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008174, allocations: 0 / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002333/0.008408, allocations: 16 kB / 0.8174 GB, free: 11.31 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 9.188e-05/0.008499, allocations: 106.7 kB / 0.8175 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.008676, allocations: 167.3 kB / 0.8176 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008678, allocations: 0 / 0.8176 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.008754, allocations: 125.8 kB / 0.8178 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.009036, allocations: 26.78 kB / 0.8178 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.009367, allocations: 181 kB / 0.818 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.11e-05/0.009408, allocations: 59.34 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.009434, allocations: 5.125 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.009467, allocations: 12.5 kB / 0.818 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.009468, allocations: 0 / 0.818 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.003131/0.0126, allocations: 0.9423 MB / 0.819 GB, free: 9.633 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: 5.336406343616545]