Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.693/4.693, allocations: 0.5623 GB / 0.5769 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002547/0.002546, allocations: 359.7 kB / 0.644 GB, free: 21.55 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.516/4.516, allocations: 410.8 MB / 1.112 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001772/0.001772, allocations: 184 kB / 1.225 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005226, allocations: 16.31 kB / 1.348 GB, free: 320.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.000723/0.1774, allocations: 435.5 kB / 1.461 GB, free: 220.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1787, allocations: 1.187 MB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.1788, allocations: 4 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.1788, allocations: 0 / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.1789, allocations: 13.11 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.1798, allocations: 285.7 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.18, allocations: 196.5 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.1801, allocations: 17.7 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-05/0.1802, allocations: 79.86 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1803, allocations: 71.77 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.1804, allocations: 16.59 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.584e-05/0.1805, allocations: 28.7 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.1805, allocations: 11.92 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.1806, allocations: 47.17 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1808, allocations: 151.9 kB / 1.463 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1808, allocations: 0 / 1.463 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.807e-06/0.1808, allocations: 3.938 kB / 1.463 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1808, allocations: 0.5 kB / 1.463 GB, free: 218.2 MB / 0.8073 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.00039/0.1812, allocations: 458.6 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1813, allocations: 8.75 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.1813, allocations: 15.91 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.1814, allocations: 175 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.1815, allocations: 12 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.1815, allocations: 12 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1817, allocations: 60.34 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1817, allocations: 0 / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1817, allocations: 7.984 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-06/0.1817, allocations: 0 / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.108e-05/0.1818, allocations: 20 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.1823, allocations: 421.8 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.865e-05/0.1824, allocations: 31.95 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.1825, allocations: 20.84 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.28e-06/0.1825, allocations: 0.5312 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.1827, allocations: 104.7 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 2.719e-06/0.1827, allocations: 1.531 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0003188/0.1831, allocations: 137.5 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1831, allocations: 55.36 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.1832, allocations: 137.9 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.1833, allocations: 34.08 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.67e-05/0.1833, allocations: 106.5 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1834, allocations: 15.81 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.1834, allocations: 4 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.1835, allocations: 326.8 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1837, allocations: 87.95 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.184, allocations: 142.4 kB / 1.465 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1843, allocations: 172.6 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.544e-06/0.1843, allocations: 0.5312 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006922/0.185, allocations: 372 kB / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.185, allocations: 102.7 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.881e-06/0.1851, allocations: 0 / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1851, allocations: 11.92 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-05/0.1851, allocations: 11.89 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.111e-06/0.1851, allocations: 4.875 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.1858, allocations: 117.6 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.1858, allocations: 23.98 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.000112/0.1859, allocations: 131.1 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.186, allocations: 11.89 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.186, allocations: 8.375 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-06/0.186, allocations: 0 / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.186, allocations: 3.953 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-06/0.1861, allocations: 4.562 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1862, allocations: 191.1 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-06/0.1862, allocations: 0 / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.1862, allocations: 3.938 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.294e-06/0.1863, allocations: 0 / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1863, allocations: 4 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.873e-06/0.1863, allocations: 2.5 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.396e-06/0.1863, allocations: 0 / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1865, allocations: 140.9 kB / 1.467 GB, free: 214.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.1866, allocations: 85.02 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1866, allocations: 0.5625 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.1866, allocations: 4.5 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1867, allocations: 13.64 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1867, allocations: 7.984 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.1868, allocations: 94.78 kB / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.93e-07/0.1868, allocations: 0 / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003393/0.1871, allocations: 48.67 kB / 1.467 GB, free: 213.9 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001355/0.1873, allocations: 123.6 kB / 1.467 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.1878, allocations: 358.6 kB / 1.467 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.536e-06/0.1878, allocations: 0 / 1.467 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.1879, allocations: 45.61 kB / 1.467 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1882, allocations: 24.88 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.1886, allocations: 201.6 kB / 1.468 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.1887, allocations: 0.702 MB / 1.468 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.1888, allocations: 5.375 kB / 1.468 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1888, allocations: 19.44 kB / 1.468 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.38e-06/0.1888, allocations: 0 / 1.468 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.006076/0.1949, allocations: 2.384 MB / 1.471 GB, free: 210.1 MB / 0.8073 GB