Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 194.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002613/0.002613, allocations: 282.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5069 GB, free: 4.699 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 97.25 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1499, allocations: 89.15 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002828/0.1528, allocations: 1.533 MB / 0.6945 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007227/0.1535, allocations: 451 kB / 0.6949 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.1536, allocations: 3.938 kB / 0.6949 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.1536, allocations: 0 / 0.6949 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.076e-05/0.1537, allocations: 7.922 kB / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.1538, allocations: 12 kB / 0.6949 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.1539, allocations: 51.84 kB / 0.695 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.154, allocations: 20.59 kB / 0.695 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.1541, allocations: 19.94 kB / 0.695 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.1542, allocations: 19.91 kB / 0.695 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1542, allocations: 4 kB / 0.695 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.1542, allocations: 4 kB / 0.695 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.1542, allocations: 15.94 kB / 0.6951 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.1543, allocations: 19.92 kB / 0.6951 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.1544, allocations: 48.03 kB / 0.6951 GB, free: 2.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1544, allocations: 0 / 0.6951 GB, free: 2.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.1544, allocations: 4 kB / 0.6951 GB, free: 2.477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1544, allocations: 0 / 0.6951 GB, free: 2.477 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005018/0.1549, allocations: 359.5 kB / 0.6955 GB, free: 2.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1549, allocations: 8.031 kB / 0.6955 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.155, allocations: 12.83 kB / 0.6955 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1551, allocations: 172.3 kB / 0.6957 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1552, allocations: 384 / 0.6957 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.1552, allocations: 8.375 kB / 0.6957 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1553, allocations: 61.98 kB / 0.6957 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1553, allocations: 0 / 0.6957 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1553, allocations: 0 / 0.6957 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1553, allocations: 4 kB / 0.6957 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.426e-05/0.1554, allocations: 31.92 kB / 0.6958 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.1559, allocations: 292.7 kB / 0.696 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.156, allocations: 58.59 kB / 0.6961 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.1561, allocations: 32.94 kB / 0.6961 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1561, allocations: 0 / 0.6961 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1563, allocations: 75.31 kB / 0.6962 GB, free: 1.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1563, allocations: 0 / 0.6962 GB, free: 1.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002141/0.1565, allocations: 97.53 kB / 0.6963 GB, free: 1.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1565, allocations: 59.39 kB / 0.6963 GB, free: 1.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.1566, allocations: 101.8 kB / 0.6964 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1567, allocations: 37.7 kB / 0.6965 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.1567, allocations: 92.05 kB / 0.6966 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.1568, allocations: 23.66 kB / 0.6966 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.1568, allocations: 29.7 kB / 0.6966 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.157, allocations: 326.7 kB / 0.6969 GB, free: 424 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.157, allocations: 15.98 kB / 0.6969 GB, free: 408 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.1571, allocations: 55.36 kB / 0.697 GB, free: 340 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1572, allocations: 63.38 kB / 0.6971 GB, free: 264 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1572, allocations: 0 / 0.6971 GB, free: 264 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001442/0.1573, allocations: 93.52 kB / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1574, allocations: 8 kB / 0.6971 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1574, allocations: 4.062 kB / 0.6972 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1574, allocations: 4 kB / 0.6972 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.1575, allocations: 15.92 kB / 0.6972 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1575, allocations: 4.031 kB / 0.6972 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.1575, allocations: 8 kB / 0.6972 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1576, allocations: 4 kB / 0.6972 GB, free: 116 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001132/0.1577, allocations: 118.4 kB / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1577, allocations: 7.984 kB / 0.6973 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.1577, allocations: 7.969 kB / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1577, allocations: 0 / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1577, allocations: 0 / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1578, allocations: 4 kB / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.1582, allocations: 358.7 kB / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1582, allocations: 0 / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.1582, allocations: 7.938 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1582, allocations: 96 / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1583, allocations: 11.92 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1583, allocations: 3.938 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1583, allocations: 0 / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.1585, allocations: 183.4 kB / 0.6979 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.1585, allocations: 89.31 kB / 0.6979 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1585, allocations: 0 / 0.6979 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.1586, allocations: 7.938 kB / 0.698 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1587, allocations: 11.92 kB / 0.698 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1587, allocations: 11.98 kB / 0.698 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.1588, allocations: 83.27 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1588, allocations: 4 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00024/0.159, allocations: 16 kB / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.25e-05/0.1591, allocations: 97.36 kB / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.1593, allocations: 55.86 kB / 0.6982 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1593, allocations: 0 / 0.6982 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.1593, allocations: 27.97 kB / 0.6982 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1596, allocations: 16.92 kB / 0.6983 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.1599, allocations: 161.5 kB / 0.6984 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1603, allocations: 0.6885 MB / 0.6991 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.1603, allocations: 4 kB / 0.6991 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.1603, allocations: 11.72 kB / 0.6991 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1603, allocations: 0 / 0.6991 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.003076/0.1634, allocations: 0.7372 MB / 0.6998 GB, free: 13.26 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)