Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.605/1.605, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 187.2 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008444/0.0008445, allocations: 93.78 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004181, allocations: 15.94 kB / 0.9088 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.6013, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.7702, allocations: 141.3 MB / 1.164 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.7705, allocations: 72.84 kB / 1.164 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007806/0.7783, allocations: 2.944 MB / 1.167 GB, free: 116 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7783, allocations: 1.156 kB / 1.167 GB, free: 116 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.7783, allocations: 0.5625 kB / 1.167 GB, free: 116 kB / 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.0003964/0.7787, allocations: 409 kB / 1.168 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.7788, allocations: 12.67 kB / 1.168 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.7788, allocations: 12.84 kB / 1.168 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.779, allocations: 174.7 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.779, allocations: 11.03 kB / 1.168 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.779, allocations: 8.891 kB / 1.168 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.7791, allocations: 53.2 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7791, allocations: 0.7031 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.7792, allocations: 6.453 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7792, allocations: 0.75 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.7792, allocations: 14.89 kB / 1.168 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.7797, allocations: 359.5 kB / 1.168 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.7798, allocations: 34.33 kB / 1.168 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.7799, allocations: 20.14 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.7799, allocations: 0 / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.7801, allocations: 86.94 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.7801, allocations: 0 / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002258/0.7803, allocations: 102.8 kB / 1.169 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.7804, allocations: 53.81 kB / 1.169 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.7805, allocations: 124.5 kB / 1.169 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.7805, allocations: 29.7 kB / 1.169 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.7806, allocations: 93.97 kB / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.7806, allocations: 15.86 kB / 1.169 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.7806, allocations: 4 kB / 1.169 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7807, allocations: 324.7 kB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.7809, allocations: 61.19 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.781, allocations: 93.42 kB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.7812, allocations: 161.6 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7813, allocations: 1.125 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004283/0.7817, allocations: 261.6 kB / 1.17 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.7817, allocations: 67.11 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7818, allocations: 0.75 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7818, allocations: 5.531 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.998e-05/0.7818, allocations: 3.391 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7818, allocations: 7.938 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.7821, allocations: 71.52 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.7822, allocations: 22.61 kB / 1.17 GB, free: 13.38 MB / 0.7448 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.776e-05/0.7823, allocations: 123.2 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.7823, allocations: 3.906 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.7823, allocations: 15.56 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7823, allocations: 1.547 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7823, allocations: 1.703 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7823, allocations: 0.7031 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.7825, allocations: 183.8 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7825, allocations: 4 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.7825, allocations: 4.609 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.7825, allocations: 0.6094 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.7825, allocations: 0.7969 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7825, allocations: 0 / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7825, allocations: 1.641 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.7827, allocations: 112.8 kB / 1.17 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.7827, allocations: 81.67 kB / 1.17 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.7827, allocations: 8.703 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.7828, allocations: 0.7031 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.7828, allocations: 12.22 kB / 1.17 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.7828, allocations: 4.703 kB / 1.17 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.7829, allocations: 93.52 kB / 1.17 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7829, allocations: 0 / 1.17 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002335/0.7831, allocations: 37.2 kB / 1.171 GB, free: 12.66 MB / 0.7448 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.0001561/0.7833, allocations: 112.8 kB / 1.171 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.7836, allocations: 255.7 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7836, allocations: 3.938 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.416e-05/0.7837, allocations: 30.55 kB / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.7839, allocations: 16.94 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.7843, allocations: 166 kB / 1.171 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.7845, allocations: 0.6872 MB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.7845, allocations: 5.312 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.7846, allocations: 12 kB / 1.172 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/0.7846, allocations: 0 / 1.172 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.004331/0.7889, allocations: 1.733 MB / 1.173 GB, free: 10.39 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)