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.548/2.548, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 187.7 kB / 325.6 MB, free: 2.828 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.65/2.65, allocations: 205.4 MB / 0.5766 GB, free: 21.08 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.001069/0.001069, allocations: 92.19 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006487/0.0006489, allocations: 12 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2059, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.4439, allocations: 131.3 MB / 1.027 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004304/0.4444, allocations: 71.95 kB / 1.027 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005471/0.4499, allocations: 0.9033 MB / 1.028 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.597e-06/0.45, allocations: 4 kB / 1.028 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.45, allocations: 0 / 1.028 GB, free: 13.51 MB / 0.6823 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.0008685/0.4509, allocations: 375.1 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.451, allocations: 8.031 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.4511, allocations: 4 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.4513, allocations: 170.9 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.4513, allocations: 8 kB / 1.029 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.4514, allocations: 4 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.4516, allocations: 49.67 kB / 1.029 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4516, allocations: 3.938 kB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.4517, allocations: 4 kB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.4517, allocations: 0 / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.4519, allocations: 23.92 kB / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.4526, allocations: 284.8 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4528, allocations: 42.58 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.4528, allocations: 0 / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.4532, allocations: 79.44 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.387e-06/0.4532, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004284/0.4536, allocations: 85.59 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.4537, allocations: 55.36 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.4539, allocations: 109 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.4539, allocations: 25.7 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.454, allocations: 92.06 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.4541, allocations: 19.88 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.4541, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4543, allocations: 318.8 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.4544, allocations: 19.92 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4546, allocations: 30.58 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.4547, allocations: 19.98 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4547, allocations: 0 / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002862/0.455, allocations: 78.16 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4551, allocations: 8 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4551, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4551, allocations: 4.062 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.4552, allocations: 4 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4553, allocations: 0 / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.4555, allocations: 23.88 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.4556, allocations: 4 kB / 1.03 GB, free: 11.37 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.4557, allocations: 118.9 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.4558, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.4559, allocations: 20.36 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.4559, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4559, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4559, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.4562, allocations: 189.5 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4563, allocations: 3.938 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.4563, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4563, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.4564, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4564, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4564, allocations: 80 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.4567, allocations: 108.9 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.4568, allocations: 89 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.4569, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.4571, allocations: 15.98 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.4572, allocations: 7.984 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.4573, allocations: 4 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001009/0.4574, allocations: 95.27 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.72e-07/0.4574, allocations: 192 / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004213/0.4578, allocations: 12 kB / 1.031 GB, free: 10.62 MB / 0.6823 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 () * 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.0002207/0.4581, allocations: 99.19 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.4584, allocations: 47.92 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4584, allocations: 0 / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.4586, allocations: 27.97 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.459, allocations: 20.08 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.4596, allocations: 158.8 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.46, allocations: 0.6887 MB / 1.032 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.819e-05/0.4601, allocations: 11.86 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.4601, allocations: 11.44 kB / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of SimCode: time 5.27e-06/0.4602, allocations: 0 / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of Templates: time 0.006005/0.4662, allocations: 0.7519 MB / 1.032 GB, free: 8.754 MB / 0.6823 GB