Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.3 MB / 303.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 181.6 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009647/0.0009648, allocations: 98.84 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005636/0.0005636, allocations: 11.84 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2237, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.0009016/0.2246, allocations: 0.5256 MB / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.226, allocations: 1.278 MB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.226, allocations: 4 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.226, allocations: 15.86 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.2261, allocations: 23.95 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.2267, allocations: 246.3 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.2269, allocations: 199.7 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.227, allocations: 29.09 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2271, allocations: 127.8 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2272, allocations: 131.6 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.2273, allocations: 16 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.2274, allocations: 31.98 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.2274, allocations: 51.86 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.2275, allocations: 81.64 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.2278, allocations: 235.6 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2278, allocations: 0 / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2278, allocations: 0 / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2278, allocations: 0 / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008586/0.2287, allocations: 0.5382 MB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2287, allocations: 12.03 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.2288, allocations: 35.8 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/0.2295, allocations: 307.1 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.2296, allocations: 28.22 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.2296, allocations: 35.98 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.23, allocations: 253.2 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.23, allocations: 0 / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.2301, allocations: 11.97 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2301, allocations: 7.938 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.2303, allocations: 128.6 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.2311, allocations: 0.6171 MB / 0.9843 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.2315, allocations: 407.7 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2316, allocations: 7.938 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004742/0.232, allocations: 358.8 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.563e-06/0.2321, allocations: 0 / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0008858/0.233, allocations: 0.6534 MB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.233, allocations: 67.41 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.2331, allocations: 151.2 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.2332, allocations: 53.64 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.2332, allocations: 113 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.2333, allocations: 102.7 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.2333, allocations: 12 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.2334, allocations: 338.8 kB / 0.9864 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.2336, allocations: 137.1 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.2339, allocations: 300.7 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.2342, allocations: 212.6 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2342, allocations: 0 / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006794/0.2349, allocations: 0.5624 MB / 0.9876 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.2349, allocations: 63.41 kB / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.2349, allocations: 8 kB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.235, allocations: 8 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2351, allocations: 47.78 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2351, allocations: 8 kB / 0.9877 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.2356, allocations: 119.6 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.2356, allocations: 28 kB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y,con.y,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.2358, allocations: 191.4 kB / 0.9881 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.2358, allocations: 31.7 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.2359, allocations: 26.31 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2359, allocations: 4 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2359, allocations: 0 / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2359, allocations: 3.984 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.237, allocations: 1.007 MB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2371, allocations: 0 / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.2371, allocations: 19.92 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2371, allocations: 7.938 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.2372, allocations: 23.86 kB / 0.9892 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2372, allocations: 4 kB / 0.9892 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2372, allocations: 0 / 0.9892 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.2378, allocations: 0.6165 MB / 0.9898 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.2378, allocations: 104.8 kB / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.2379, allocations: 20.05 kB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.238, allocations: 43.91 kB / 0.9899 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.2381, allocations: 39.92 kB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.2382, allocations: 31.98 kB / 0.99 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.2382, allocations: 104.3 kB / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2382, allocations: 0 / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003603/0.2386, allocations: 104 kB / 0.9902 GB, free: 16.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001878/0.2388, allocations: 144.3 kB / 0.9903 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006029/0.2394, allocations: 0.5343 MB / 0.9908 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2394, allocations: 384 / 0.9908 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.2397, allocations: 312 kB / 0.9911 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2399, allocations: 27.97 kB / 0.9912 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.2406, allocations: 481.7 kB / 0.9916 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.2408, allocations: 0.7413 MB / 0.9924 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.232e-05/0.2409, allocations: 34.95 kB / 0.9924 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.2409, allocations: 27.44 kB / 0.9924 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2409, allocations: 0 / 0.9924 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.006021/0.247, allocations: 3.727 MB / 0.9961 GB, free: 10.14 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)