Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.555/2.555, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001456/0.001456, allocations: 183.2 kB / 326.2 MB, free: 2.863 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.587/2.587, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0008772/0.0008771, allocations: 92.86 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.000499, allocations: 18.27 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.4537, allocations: 131.3 MB / 1.028 GB, free: 14.09 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.454, allocations: 79.94 kB / 1.028 GB, free: 14.02 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.003812/0.4579, allocations: 0.9046 MB / 1.029 GB, free: 13.11 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4579, allocations: 0 / 1.029 GB, free: 13.11 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.458, allocations: 4 kB / 1.029 GB, free: 13.1 MB / 0.6824 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.0006927/0.4587, allocations: 373.4 kB / 1.029 GB, free: 12.69 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4587, allocations: 12.03 kB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.4588, allocations: 0.9375 kB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.459, allocations: 172.3 kB / 1.029 GB, free: 12.47 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.459, allocations: 4.375 kB / 1.029 GB, free: 12.46 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.4591, allocations: 8.359 kB / 1.029 GB, free: 12.46 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.4592, allocations: 62.05 kB / 1.029 GB, free: 12.39 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4593, allocations: 4.188 kB / 1.029 GB, free: 12.39 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.4593, allocations: 7.938 kB / 1.029 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4593, allocations: 4 kB / 1.029 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/0.4594, allocations: 16 kB / 1.029 GB, free: 12.36 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.46, allocations: 284.9 kB / 1.03 GB, free: 12.03 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.4602, allocations: 46.45 kB / 1.03 GB, free: 11.98 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.4603, allocations: 28.97 kB / 1.03 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4603, allocations: 0 / 1.03 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.4606, allocations: 67.39 kB / 1.03 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.4606, allocations: 0 / 1.03 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7): time 0.0003419/0.4609, allocations: 89.52 kB / 1.03 GB, free: 11.77 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.461, allocations: 55.41 kB / 1.03 GB, free: 11.71 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.4612, allocations: 113.8 kB / 1.03 GB, free: 11.59 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.4612, allocations: 33.7 kB / 1.03 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.4613, allocations: 88.2 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.4613, allocations: 15.8 kB / 1.03 GB, free: 11.44 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.4613, allocations: 4 kB / 1.03 GB, free: 11.44 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.4615, allocations: 310.8 kB / 1.03 GB, free: 11.12 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.4616, allocations: 15.98 kB / 1.03 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.4617, allocations: 34.58 kB / 1.03 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.427e-05/0.4618, allocations: 19.94 kB / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4618, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001975/0.462, allocations: 77.53 kB / 1.031 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.462, allocations: 11.98 kB / 1.031 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.462, allocations: 0 / 1.031 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.4621, allocations: 0 / 1.031 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.4622, allocations: 11.94 kB / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4622, allocations: 4.703 kB / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4624, allocations: 16.05 kB / 1.031 GB, free: 10.92 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.4624, allocations: 4 kB / 1.031 GB, free: 10.92 MB / 0.6824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.4626, allocations: 121.7 kB / 1.031 GB, free: 10.79 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.4626, allocations: 0 / 1.031 GB, free: 10.79 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.4627, allocations: 12.38 kB / 1.031 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.4627, allocations: 7.922 kB / 1.031 GB, free: 10.77 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4627, allocations: 0 / 1.031 GB, free: 10.77 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4627, allocations: 4.188 kB / 1.031 GB, free: 10.77 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.463, allocations: 185.6 kB / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.463, allocations: 3.938 kB / 1.031 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.463, allocations: 3.938 kB / 1.031 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.463, allocations: 4 kB / 1.031 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4631, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4631, allocations: 4 kB / 1.031 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4631, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.4633, allocations: 105 kB / 1.031 GB, free: 10.4 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.4634, allocations: 89 kB / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.4634, allocations: 0 / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.4636, allocations: 15.98 kB / 1.031 GB, free: 10.28 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.4637, allocations: 11.98 kB / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.4637, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.443e-05/0.4638, allocations: 91.27 kB / 1.031 GB, free: 10.18 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4638, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.000254/0.4641, allocations: 20 kB / 1.031 GB, free: 10.16 MB / 0.6824 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 (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.0001624/0.4643, allocations: 101.4 kB / 1.031 GB, free: 10.05 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.4645, allocations: 47.97 kB / 1.031 GB, free: 10 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4645, allocations: 0 / 1.031 GB, free: 10 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.4646, allocations: 31.92 kB / 1.031 GB, free: 9.973 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.4649, allocations: 12.05 kB / 1.031 GB, free: 9.961 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.4654, allocations: 166.6 kB / 1.032 GB, free: 9.766 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4658, allocations: 0.6887 MB / 1.032 GB, free: 9.051 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 6.111e-05/0.4659, allocations: 11.84 kB / 1.032 GB, free: 9.039 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.4659, allocations: 11.44 kB / 1.032 GB, free: 9.027 MB / 0.6824 GB Notification: Performance of SimCode: time 9.62e-07/0.4659, allocations: 4 kB / 1.032 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of Templates: time 0.004104/0.4701, allocations: 0.7618 MB / 1.033 GB, free: 8.27 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)