Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.5/2.5, allocations: 253.2 MB / 260.6 MB, free: 7.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 171.5 kB / 319.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 96.31 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.474e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2328, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9725/1.205, allocations: 131.4 MB / 1.017 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.206, allocations: 67.09 kB / 1.017 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004457/1.21, allocations: 0.8968 MB / 1.018 GB, free: 5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/1.21, allocations: 0 / 1.018 GB, free: 5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.21, allocations: 4 kB / 1.018 GB, free: 4.996 MB / 0.6355 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.0006844/1.211, allocations: 354.1 kB / 1.018 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/1.211, allocations: 16.02 kB / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/1.211, allocations: 3.906 kB / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/1.211, allocations: 175 kB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/1.211, allocations: 8 kB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/1.211, allocations: 0 / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001195/1.212, allocations: 18.94 kB / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/1.212, allocations: 52.05 kB / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.212, allocations: 3.938 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.212, allocations: 0 / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.212, allocations: 0 / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/1.212, allocations: 261.7 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/1.213, allocations: 38.14 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/1.213, allocations: 12.3 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/1.213, allocations: 6.516 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/1.213, allocations: 74.48 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/1.213, allocations: 0 / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002955/1.213, allocations: 67.06 kB / 1.019 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.213, allocations: 55.41 kB / 1.019 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/1.213, allocations: 104.2 kB / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/1.214, allocations: 29.7 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/1.214, allocations: 87.48 kB / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/1.214, allocations: 7.906 kB / 1.019 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.214, allocations: 0 / 1.019 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.214, allocations: 322.7 kB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/1.214, allocations: 11.69 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/1.214, allocations: 34.39 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.509e-05/1.214, allocations: 19.86 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.214, allocations: 0 / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000225/1.214, allocations: 72.39 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.214, allocations: 9.031 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.214, allocations: 0 / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.214, allocations: 4.25 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/1.215, allocations: 4.875 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.215, allocations: 7.938 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/1.215, allocations: 11.98 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/1.215, allocations: 4 kB / 1.02 GB, free: 3.047 MB / 0.6355 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.215, allocations: 117.8 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/1.215, allocations: 3.906 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/1.215, allocations: 20.3 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.215, allocations: 0 / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.215, allocations: 0 / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.215, allocations: 0 / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/1.215, allocations: 153.1 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.215, allocations: 0 / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/1.215, allocations: 7.938 kB / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.215, allocations: 0 / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/1.215, allocations: 7.969 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.215, allocations: 0 / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.216, allocations: 0 / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/1.216, allocations: 104 kB / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/1.216, allocations: 81.11 kB / 1.02 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/1.216, allocations: 0 / 1.02 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.216, allocations: 11.98 kB / 1.02 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/1.216, allocations: 7.984 kB / 1.02 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.216, allocations: 7.984 kB / 1.02 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.336e-05/1.216, allocations: 95.5 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.62e-07/1.216, allocations: 0 / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004187/1.217, allocations: 8 kB / 1.02 GB, free: 2.379 MB / 0.6355 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,nor1.y) * Number of discrete 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.0001831/1.217, allocations: 104.1 kB / 1.02 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002081/1.217, allocations: 34.69 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.217, allocations: 0 / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/1.217, allocations: 26.92 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/1.218, allocations: 19.95 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/1.218, allocations: 95.09 kB / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/1.218, allocations: 0.6846 MB / 1.021 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.05e-05/1.219, allocations: 7.859 kB / 1.021 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/1.219, allocations: 11.44 kB / 1.021 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/1.219, allocations: 0 / 1.021 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of Templates: time 0.004835/1.223, allocations: 0.7134 MB / 1.022 GB, free: 0.6758 MB / 0.6355 GB