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.487/2.487, allocations: 284.8 MB / 297.3 MB, free: 6.324 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.001452/0.001452, allocations: 180.9 kB / 365.7 MB, free: 2.57 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.216/2.216, allocations: 205.1 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 88.66 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.982e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7929, allocations: 115.2 MB / 0.97 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/1.029, allocations: 137.8 MB / 1.105 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.03, allocations: 71.95 kB / 1.105 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01924/1.049, allocations: 2.925 MB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/1.049, allocations: 0 / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.049, allocations: 0 / 1.108 GB, free: 11.64 MB / 0.7136 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.0005943/1.049, allocations: 405.8 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/1.05, allocations: 12.03 kB / 1.108 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/1.05, allocations: 17.14 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/1.05, allocations: 167.7 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/1.05, allocations: 4 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/1.05, allocations: 11.98 kB / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/1.05, allocations: 52.06 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.05, allocations: 1.219 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/1.05, allocations: 0 / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.05, allocations: 0 / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/1.05, allocations: 16 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/1.051, allocations: 360.6 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/1.051, allocations: 38.56 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/1.051, allocations: 16.86 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/1.052, allocations: 0 / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/1.052, allocations: 87.41 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/1.052, allocations: 0 / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003633/1.052, allocations: 81.58 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/1.052, allocations: 55.41 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/1.052, allocations: 123.7 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/1.052, allocations: 29.7 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.053, allocations: 96.22 kB / 1.109 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/1.053, allocations: 11.91 kB / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/1.053, allocations: 4 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.053, allocations: 318.8 kB / 1.109 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/1.053, allocations: 59.98 kB / 1.109 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/1.054, allocations: 88.22 kB / 1.109 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/1.054, allocations: 118.2 kB / 1.11 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/1.054, allocations: 0 / 1.11 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009968/1.055, allocations: 256.8 kB / 1.11 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.055, allocations: 71.39 kB / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.055, allocations: 0 / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.055, allocations: 4 kB / 1.11 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/1.055, allocations: 0 / 1.11 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.055, allocations: 7.938 kB / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008127/1.056, allocations: 68.06 kB / 1.11 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/1.056, allocations: 23.94 kB / 1.11 GB, free: 8.82 MB / 0.7136 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 () * 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.000156/1.056, allocations: 109 kB / 1.11 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/1.056, allocations: 7.906 kB / 1.11 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/1.056, allocations: 12.61 kB / 1.11 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.056, allocations: 4 kB / 1.11 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.057, allocations: 0 / 1.11 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.057, allocations: 1.75 kB / 1.11 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/1.057, allocations: 181.6 kB / 1.11 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/1.057, allocations: 0 / 1.11 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/1.057, allocations: 7.984 kB / 1.11 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.057, allocations: 0 / 1.11 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/1.057, allocations: 4 kB / 1.11 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/1.057, allocations: 0 / 1.11 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.057, allocations: 0 / 1.11 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/1.057, allocations: 115 kB / 1.11 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/1.057, allocations: 77.11 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/1.057, allocations: 5.688 kB / 1.111 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/1.057, allocations: 8 kB / 1.111 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/1.057, allocations: 11.92 kB / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.058, allocations: 6.562 kB / 1.111 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.647e-05/1.058, allocations: 91.27 kB / 1.111 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.51e-07/1.058, allocations: 0 / 1.111 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005748/1.058, allocations: 36 kB / 1.111 GB, free: 8.066 MB / 0.7136 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 () * 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.0002322/1.058, allocations: 118.5 kB / 1.111 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006857/1.059, allocations: 246.7 kB / 1.111 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.059, allocations: 0 / 1.111 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/1.059, allocations: 31.98 kB / 1.111 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/1.06, allocations: 22.34 kB / 1.111 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/1.06, allocations: 87.94 kB / 1.111 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/1.06, allocations: 0.6968 MB / 1.112 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.299e-05/1.061, allocations: 4 kB / 1.112 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/1.061, allocations: 15.42 kB / 1.112 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of SimCode: time 8.41e-07/1.061, allocations: 0 / 1.112 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of Templates: time 0.007903/1.069, allocations: 1.684 MB / 1.113 GB, free: 5.156 MB / 0.7136 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)