Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 293 MB / 309 MB, free: 4.824 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 174.5 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 0.6383 GB, free: 8.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007646/0.0007646, allocations: 86.97 kB / 0.7527 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003976, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2541, allocations: 116.4 MB / 0.9905 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7837/1.038, allocations: 139.1 MB / 1.126 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.038, allocations: 77.97 kB / 1.126 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007474/1.046, allocations: 2.944 MB / 1.129 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.095e-06/1.046, allocations: 0 / 1.129 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.046, allocations: 4 kB / 1.129 GB, free: 32.49 MB / 0.7292 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.0003654/1.046, allocations: 407 kB / 1.13 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.046, allocations: 15.39 kB / 1.13 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/1.046, allocations: 13.5 kB / 1.13 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/1.046, allocations: 172.3 kB / 1.13 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/1.046, allocations: 8.375 kB / 1.13 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/1.046, allocations: 9.031 kB / 1.13 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/1.046, allocations: 45.77 kB / 1.13 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/1.046, allocations: 192 / 1.13 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/1.046, allocations: 11.94 kB / 1.13 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.046, allocations: 0 / 1.13 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/1.046, allocations: 16.12 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/1.047, allocations: 360.6 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.48e-05/1.047, allocations: 39.34 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/1.047, allocations: 20.8 kB / 1.13 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/1.047, allocations: 0 / 1.13 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/1.047, allocations: 81.81 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.047, allocations: 4 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002523/1.047, allocations: 108.1 kB / 1.131 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/1.047, allocations: 51.41 kB / 1.131 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/1.048, allocations: 118.2 kB / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.048, allocations: 29.7 kB / 1.131 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/1.048, allocations: 92.12 kB / 1.131 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/1.048, allocations: 15.81 kB / 1.131 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/1.048, allocations: 4 kB / 1.131 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.989e-05/1.048, allocations: 326.3 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/1.048, allocations: 70.2 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/1.048, allocations: 91.69 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/1.048, allocations: 160.3 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.048, allocations: 0 / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003747/1.049, allocations: 259 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/1.049, allocations: 71.91 kB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/1.049, allocations: 0 / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.049, allocations: 0 / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.929e-05/1.049, allocations: 8 kB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.049, allocations: 3.938 kB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/1.049, allocations: 74.05 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/1.049, allocations: 15.38 kB / 1.132 GB, free: 29.74 MB / 0.7292 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.0001021/1.049, allocations: 129.3 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/1.049, allocations: 7.906 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/1.049, allocations: 8.938 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.049, allocations: 4.75 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.049, allocations: 0 / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.049, allocations: 0 / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/1.049, allocations: 184.2 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.049, allocations: 1 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-06/1.05, allocations: 4 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.05, allocations: 0 / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/1.05, allocations: 11.36 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.05, allocations: 1.453 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.05, allocations: 0 / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/1.05, allocations: 112.7 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/1.05, allocations: 81.52 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.05, allocations: 0 / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/1.05, allocations: 11.47 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/1.05, allocations: 12.41 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/1.05, allocations: 0.5625 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.469e-05/1.05, allocations: 91.78 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.05, allocations: 0 / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002729/1.05, allocations: 32.97 kB / 1.133 GB, free: 29.01 MB / 0.7292 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.0002086/1.05, allocations: 114.8 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003125/1.051, allocations: 252.7 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.051, allocations: 0 / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/1.051, allocations: 31.39 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/1.051, allocations: 16.27 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/1.051, allocations: 171.7 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/1.052, allocations: 0.6879 MB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.619e-05/1.052, allocations: 4.938 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/1.052, allocations: 11.44 kB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.052, allocations: 0 / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.004499/1.056, allocations: 1.724 MB / 1.135 GB, free: 26.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)