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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001526/0.001526, allocations: 185 kB / 377.1 MB, free: 1.508 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.871/1.871, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0008798/0.0008797, allocations: 93.19 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3255, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8415/1.167, allocations: 139.1 MB / 1.124 GB, free: 35.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.167, allocations: 71.2 kB / 1.124 GB, free: 35.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008268/1.176, allocations: 2.933 MB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.194e-06/1.176, allocations: 0.6562 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.835e-06/1.176, allocations: 0 / 1.127 GB, free: 33.39 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.0004496/1.176, allocations: 422.6 kB / 1.128 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.176, allocations: 12.02 kB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/1.176, allocations: 13.97 kB / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/1.177, allocations: 163.7 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.177, allocations: 16 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/1.177, allocations: 11.52 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/1.177, allocations: 45.17 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.177, allocations: 0 / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/1.177, allocations: 10.42 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.177, allocations: 4 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/1.177, allocations: 16.44 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/1.177, allocations: 352.5 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/1.177, allocations: 32.98 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/1.177, allocations: 0 / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/1.178, allocations: 87.45 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/1.178, allocations: 0 / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002512/1.178, allocations: 109.5 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/1.178, allocations: 59.02 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/1.178, allocations: 114 kB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/1.178, allocations: 29.7 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/1.178, allocations: 92.27 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/1.178, allocations: 19.27 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/1.178, allocations: 8 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/1.178, allocations: 318.8 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/1.178, allocations: 59.44 kB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/1.179, allocations: 99.17 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/1.179, allocations: 110.8 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.179, allocations: 0.9375 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003753/1.179, allocations: 253.6 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/1.179, allocations: 71.61 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.179, allocations: 0 / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.179, allocations: 4 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.253e-05/1.179, allocations: 13.16 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.179, allocations: 0.5469 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/1.18, allocations: 77.39 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/1.18, allocations: 11.47 kB / 1.13 GB, free: 30.73 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 8.735e-05/1.18, allocations: 121.8 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/1.18, allocations: 4 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/1.18, allocations: 13 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/1.18, allocations: 0 / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.18, allocations: 3.516 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.18, allocations: 0 / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.436e-05/1.18, allocations: 180.1 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.18, allocations: 1.062 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/1.18, allocations: 7.938 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.18, allocations: 1.219 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.18, allocations: 0.5 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.18, allocations: 0 / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.18, allocations: 4 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/1.18, allocations: 116.7 kB / 1.13 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/1.18, allocations: 92.42 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/1.18, allocations: 1.875 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/1.18, allocations: 0 / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/1.18, allocations: 11.33 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/1.18, allocations: 4 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.426e-05/1.18, allocations: 91.59 kB / 1.13 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.18, allocations: 4 kB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002419/1.181, allocations: 39.36 kB / 1.13 GB, free: 30 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.0001601/1.181, allocations: 111.2 kB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003012/1.181, allocations: 246.2 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.181, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/1.181, allocations: 27.61 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/1.181, allocations: 21.17 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/1.182, allocations: 162.8 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/1.182, allocations: 0.6875 MB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.154e-05/1.182, allocations: 12.97 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/1.182, allocations: 14.81 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.182, allocations: 3.938 kB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.004318/1.186, allocations: 1.674 MB / 1.133 GB, free: 27.78 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)