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.Xor.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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 252 MB / 268 MB, free: 10.84 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.001219/0.001219, allocations: 178.8 kB / 327.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0007753/0.0007753, allocations: 87.45 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 10.91 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1725, allocations: 106.3 MB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001279/0.1739, allocations: 1.099 MB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003763/0.1743, allocations: 205.6 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.1743, allocations: 0 / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.1744, allocations: 0 / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.1744, allocations: 15.91 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1746, allocations: 15.98 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.1747, allocations: 55.73 kB / 0.9028 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.1748, allocations: 11.98 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.1748, allocations: 15.94 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.1749, allocations: 23.91 kB / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1749, allocations: 0 / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1749, allocations: 4 kB / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.1749, allocations: 7.984 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.175, allocations: 53.56 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.238e-05/0.1751, allocations: 31.92 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1751, allocations: 0 / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1751, allocations: 0 / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1751, allocations: 0 / 0.903 GB, free: 61.75 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.000469/0.1756, allocations: 383.5 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1756, allocations: 8.031 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.1756, allocations: 4.938 kB / 0.9033 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.1758, allocations: 176.2 kB / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1758, allocations: 384 / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1758, allocations: 8.375 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.1759, allocations: 50.23 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1759, allocations: 192 / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1759, allocations: 11.92 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1759, allocations: 0 / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.176, allocations: 27.92 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.1763, allocations: 292.8 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.1764, allocations: 46.5 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.1765, allocations: 20.98 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.1765, allocations: 0 / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.1766, allocations: 79.23 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.1766, allocations: 0 / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002213/0.1769, allocations: 85.73 kB / 0.9041 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1769, allocations: 59.41 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.177, allocations: 113.8 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.177, allocations: 33.64 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.177, allocations: 88.12 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.177, allocations: 11.91 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.1771, allocations: 4 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.1771, allocations: 314.8 kB / 0.9047 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.1771, allocations: 15.98 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.1772, allocations: 38.5 kB / 0.9048 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.1772, allocations: 50.52 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1772, allocations: 4 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001001/0.1773, allocations: 77.53 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1774, allocations: 4 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1774, allocations: 0 / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1774, allocations: 7.938 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.1774, allocations: 4 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1775, allocations: 0.7031 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.1776, allocations: 23.98 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1776, allocations: 0 / 0.9049 GB, free: 59.51 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,xor1.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.7e-05/0.1776, allocations: 123.5 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.1776, allocations: 11.91 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.1777, allocations: 8.375 kB / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1777, allocations: 4 kB / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1777, allocations: 0 / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1777, allocations: 0 / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.458e-05/0.1778, allocations: 189.5 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1778, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-06/0.1778, allocations: 3.938 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1778, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1778, allocations: 4 kB / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1779, allocations: 0 / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1779, allocations: 0 / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.178, allocations: 108.9 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.178, allocations: 81.11 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.178, allocations: 4 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.1781, allocations: 11.98 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1782, allocations: 15.98 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1782, allocations: 3.984 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.1782, allocations: 87.47 kB / 0.9056 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1782, allocations: 0 / 0.9056 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001848/0.1784, allocations: 19.84 kB / 0.9056 GB, free: 58.75 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,xor1.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 9.077e-05/0.1785, allocations: 111.2 kB / 0.9057 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1786, allocations: 43.97 kB / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1786, allocations: 0 / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.1787, allocations: 27.94 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1789, allocations: 19.92 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.1792, allocations: 200.2 kB / 0.906 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.438e-05/0.1793, allocations: 0.6868 MB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.1793, allocations: 11.44 kB / 0.9066 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.1793, allocations: 3.938 kB / 0.9066 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.001896/0.1812, allocations: 0.9214 MB / 0.9075 GB, free: 56.67 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)