Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.885/2.885, allocations: 287.5 MB / 302.5 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 169.1 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 93.98 kB / 0.743 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005014, allocations: 13.62 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2437, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.259, allocations: 137.9 MB / 1.113 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.26, allocations: 76.36 kB / 1.113 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01428/1.274, allocations: 2.934 MB / 1.116 GB, free: 31.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.236e-06/1.274, allocations: 3.844 kB / 1.116 GB, free: 31.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.274, allocations: 4 kB / 1.116 GB, free: 31.16 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005529/1.275, allocations: 409.3 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.275, allocations: 15.58 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/1.275, allocations: 7.781 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/1.275, allocations: 174.5 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/1.275, allocations: 9.781 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/1.275, allocations: 14.62 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/1.275, allocations: 46.11 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.275, allocations: 0 / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.275, allocations: 4 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.275, allocations: 3.844 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/1.275, allocations: 16.12 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/1.276, allocations: 349.7 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.407e-05/1.276, allocations: 40.28 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/1.276, allocations: 0 / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/1.276, allocations: 85.08 kB / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.065e-06/1.276, allocations: 0 / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003279/1.277, allocations: 110.1 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/1.277, allocations: 55.25 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.277, allocations: 117.9 kB / 1.117 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/1.277, allocations: 29.61 kB / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/1.277, allocations: 87.86 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/1.277, allocations: 19.38 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/1.277, allocations: 3.875 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.277, allocations: 321.2 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/1.277, allocations: 60.66 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/1.278, allocations: 89.19 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/1.278, allocations: 121.9 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.278, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006538/1.278, allocations: 253.6 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/1.279, allocations: 65.75 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.279, allocations: 6.938 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.279, allocations: 0 / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.031e-05/1.279, allocations: 3.688 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.279, allocations: 0 / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/1.279, allocations: 84.47 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/1.279, allocations: 14.38 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * 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.0001489/1.279, allocations: 128.8 kB / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/1.279, allocations: 3.969 kB / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/1.279, allocations: 7.812 kB / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.28, allocations: 0 / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.28, allocations: 0 / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.28, allocations: 480 / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/1.28, allocations: 183.2 kB / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.28, allocations: 7.875 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/1.28, allocations: 0 / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.28, allocations: 0 / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.28, allocations: 6.844 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.28, allocations: 3.969 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.28, allocations: 0 / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/1.28, allocations: 110.9 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/1.28, allocations: 87.95 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/1.28, allocations: 7.125 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/1.28, allocations: 4 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/1.28, allocations: 10.53 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.28, allocations: 6.922 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.153e-05/1.28, allocations: 88.91 kB / 1.119 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.28, allocations: 0 / 1.119 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003373/1.281, allocations: 38.25 kB / 1.119 GB, free: 28.63 MB / 0.698 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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.0001833/1.281, allocations: 109.4 kB / 1.119 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004668/1.281, allocations: 250 kB / 1.12 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.281, allocations: 0 / 1.12 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/1.281, allocations: 31.41 kB / 1.12 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/1.282, allocations: 17.08 kB / 1.12 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/1.282, allocations: 169.5 kB / 1.12 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/1.282, allocations: 0.6898 MB / 1.12 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.446e-05/1.282, allocations: 3.969 kB / 1.12 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/1.283, allocations: 11.31 kB / 1.12 GB, free: 27.56 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/1.283, allocations: 3.938 kB / 1.12 GB, free: 27.56 MB / 0.698 GB Notification: Performance of Templates: time 0.005653/1.288, allocations: 1.688 MB / 1.122 GB, free: 27.4 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)