Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 99.36 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001429, allocations: 192.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.691/1.691, allocations: 251.6 MB / 0.5089 GB, free: 3.254 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 75.88 kB / 0.6218 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.738, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002825/0.7408, allocations: 1.439 MB / 0.7254 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000431/0.7413, allocations: 204.3 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.7413, allocations: 4 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.7414, allocations: 3.984 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.7415, allocations: 11.86 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.7417, allocations: 15.98 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.999e-05/0.7418, allocations: 59.78 kB / 0.7257 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.7419, allocations: 8 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.391e-05/0.7419, allocations: 19.92 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.742, allocations: 27.86 kB / 0.7258 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.742, allocations: 8 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.742, allocations: 4 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.7421, allocations: 15.97 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.7421, allocations: 23.86 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.7422, allocations: 49.83 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7422, allocations: 0 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7422, allocations: 0 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7422, allocations: 0 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005646/0.7428, allocations: 371.3 kB / 0.7262 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7429, allocations: 8.031 kB / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.7429, allocations: 8.844 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.7431, allocations: 188.2 kB / 0.7264 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.7431, allocations: 4.375 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.7431, allocations: 384 / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.7432, allocations: 58.17 kB / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.7432, allocations: 192 / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7433, allocations: 3.938 kB / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7433, allocations: 4 kB / 0.7265 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.039e-05/0.7433, allocations: 24 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.7438, allocations: 280.8 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.7439, allocations: 50.5 kB / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.7439, allocations: 24.91 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.744, allocations: 0 / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.7442, allocations: 71.39 kB / 0.7269 GB, free: 9.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.7442, allocations: 0 / 0.7269 GB, free: 9.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002338/0.7444, allocations: 93.64 kB / 0.727 GB, free: 9.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.7445, allocations: 59.34 kB / 0.727 GB, free: 9.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.7446, allocations: 113.8 kB / 0.7272 GB, free: 9.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.7446, allocations: 25.7 kB / 0.7272 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.7446, allocations: 84.14 kB / 0.7273 GB, free: 9.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.7447, allocations: 23.8 kB / 0.7273 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.7447, allocations: 21.72 kB / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7449, allocations: 318.8 kB / 0.7276 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.062e-05/0.7449, allocations: 12 kB / 0.7276 GB, free: 9.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.7449, allocations: 42.56 kB / 0.7277 GB, free: 9.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.745, allocations: 51.08 kB / 0.7277 GB, free: 9.039 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.745, allocations: 0 / 0.7277 GB, free: 9.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001146/0.7451, allocations: 85.59 kB / 0.7278 GB, free: 8.949 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.7452, allocations: 4 kB / 0.7278 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.7452, allocations: 0 / 0.7278 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7452, allocations: 0 / 0.7278 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.7452, allocations: 11.98 kB / 0.7278 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7453, allocations: 4 kB / 0.7278 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.7453, allocations: 19.89 kB / 0.7278 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.7454, allocations: 4 kB / 0.7278 GB, free: 8.906 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,xor1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.7455, allocations: 125.7 kB / 0.7279 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.7455, allocations: 4 kB / 0.728 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.7455, allocations: 8.562 kB / 0.728 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7455, allocations: 0 / 0.728 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7455, allocations: 7.938 kB / 0.728 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7455, allocations: 0 / 0.728 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.7457, allocations: 181.5 kB / 0.7281 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7457, allocations: 8 kB / 0.7281 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-06/0.7457, allocations: 0 / 0.7281 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7457, allocations: 3.984 kB / 0.7282 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.7457, allocations: 0 / 0.7282 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7457, allocations: 0 / 0.7282 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7457, allocations: 0 / 0.7282 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.7459, allocations: 105 kB / 0.7283 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.7459, allocations: 81.02 kB / 0.7283 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.746, allocations: 11.98 kB / 0.7283 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.746, allocations: 11.98 kB / 0.7284 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.7461, allocations: 11.98 kB / 0.7284 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.7461, allocations: 4 kB / 0.7284 GB, free: 8.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.7462, allocations: 87.28 kB / 0.7285 GB, free: 8.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7462, allocations: 0 / 0.7285 GB, free: 8.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001895/0.7464, allocations: 8 kB / 0.7285 GB, free: 8.164 MB / 0.545 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001779/0.7466, allocations: 107.2 kB / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.7467, allocations: 51.92 kB / 0.7286 GB, free: 8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7467, allocations: 0 / 0.7286 GB, free: 8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.7468, allocations: 20 kB / 0.7286 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.747, allocations: 23.19 kB / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.7475, allocations: 181.8 kB / 0.7288 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.7479, allocations: 0.6846 MB / 0.7295 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.089e-05/0.748, allocations: 7.859 kB / 0.7295 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.748, allocations: 11.44 kB / 0.7295 GB, free: 7.023 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.748, allocations: 0 / 0.7295 GB, free: 7.023 MB / 0.545 GB Notification: Performance of Templates: time 0.003742/0.7518, allocations: 0.851 MB / 0.7303 GB, free: 6.18 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)