Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.58/1.58, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 179.7 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007467/0.0007467, allocations: 92.23 kB / 0.6833 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003055, allocations: 12.09 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001279/0.1614, allocations: 1.103 MB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003665/0.1618, allocations: 201.6 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.1618, allocations: 0 / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.1619, allocations: 7.875 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.162, allocations: 11.91 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.1621, allocations: 12 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.1622, allocations: 59.72 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.1623, allocations: 8 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.301e-05/0.1623, allocations: 27.91 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.1624, allocations: 19.92 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1624, allocations: 0 / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.1624, allocations: 4 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.1624, allocations: 3.984 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.1625, allocations: 45.58 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.735e-05/0.1625, allocations: 35.92 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1625, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1626, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1626, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 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.0004169/0.163, allocations: 375.6 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.163, allocations: 8.031 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.1631, allocations: 4.938 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.315e-05/0.1631, allocations: 184.2 kB / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1632, allocations: 384 / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1632, allocations: 8.359 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.1633, allocations: 54.23 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1633, allocations: 192 / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1633, allocations: 7.938 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1633, allocations: 0 / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.1634, allocations: 27.92 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.1637, allocations: 272.8 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.1638, allocations: 50.5 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.1638, allocations: 24.97 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.1638, allocations: 0 / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.164, allocations: 71.28 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.164, allocations: 0 / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001785/0.1642, allocations: 89.69 kB / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.1642, allocations: 55.39 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/0.1643, allocations: 121.8 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.1643, allocations: 29.7 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.1643, allocations: 84.14 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.1644, allocations: 11.91 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.1644, allocations: 0 / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.1644, allocations: 318.8 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/0.1644, allocations: 12 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.1645, allocations: 46.44 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.1645, allocations: 46.52 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1645, allocations: 0 / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.992e-05/0.1646, allocations: 81.52 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1647, allocations: 4 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1647, allocations: 4 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1647, allocations: 4.062 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.1647, allocations: 11.92 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1648, allocations: 0 / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.1649, allocations: 23.92 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.1649, allocations: 4 kB / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.478e-05/0.1649, allocations: 120 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.1649, allocations: 3.906 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.165, allocations: 16.38 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.165, allocations: 0 / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.165, allocations: 0 / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.165, allocations: 3.984 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.019e-05/0.1651, allocations: 173.6 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1651, allocations: 0 / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-06/0.1651, allocations: 0 / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1651, allocations: 7.938 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1651, allocations: 7.984 kB / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1651, allocations: 0 / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1652, allocations: 3.938 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.1653, allocations: 109.7 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.1653, allocations: 81.11 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1653, allocations: 3.984 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.1654, allocations: 11.98 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.1655, allocations: 11.98 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1655, allocations: 4 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.936e-05/0.1655, allocations: 95.34 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 0 / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001786/0.1657, allocations: 15.91 kB / 0.9056 GB, free: 58.94 MB / 0.6042 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 8.832e-05/0.1658, allocations: 99.23 kB / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.704e-05/0.1659, allocations: 47.92 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1659, allocations: 0 / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.1659, allocations: 23.94 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1662, allocations: 24.17 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.1665, allocations: 200.1 kB / 0.9059 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.383e-05/0.1666, allocations: 0.6829 MB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.1666, allocations: 15.44 kB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.1666, allocations: 0 / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.001797/0.1684, allocations: 0.9063 MB / 0.9075 GB, free: 56.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)