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.453/2.453, allocations: 252.6 MB / 265.2 MB, free: 5.84 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.002307/0.002307, allocations: 185.4 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001462/0.001462, allocations: 104.4 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.723e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.849/1.067, allocations: 131.2 MB / 1.023 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.068, allocations: 67.78 kB / 1.023 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003521/1.071, allocations: 0.9048 MB / 1.024 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.624e-06/1.071, allocations: 0 / 1.024 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.071, allocations: 0 / 1.024 GB, free: 2.48 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.0005821/1.072, allocations: 352.8 kB / 1.024 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.072, allocations: 12.03 kB / 1.024 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/1.072, allocations: 7.906 kB / 1.024 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/1.072, allocations: 175 kB / 1.024 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/1.072, allocations: 4 kB / 1.024 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/1.072, allocations: 7.5 kB / 1.024 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/1.072, allocations: 56.22 kB / 1.025 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.072, allocations: 0 / 1.025 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/1.072, allocations: 0 / 1.025 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.072, allocations: 4 kB / 1.025 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-05/1.072, allocations: 22.75 kB / 1.025 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/1.073, allocations: 281.6 kB / 1.025 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/1.073, allocations: 37.52 kB / 1.025 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/1.073, allocations: 19.92 kB / 1.025 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/1.073, allocations: 0 / 1.025 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/1.073, allocations: 80.36 kB / 1.025 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/1.073, allocations: 0 / 1.025 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002375/1.074, allocations: 69.12 kB / 1.025 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/1.074, allocations: 66.59 kB / 1.025 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.074, allocations: 100.4 kB / 1.025 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/1.074, allocations: 29.7 kB / 1.025 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/1.074, allocations: 87.36 kB / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/1.074, allocations: 15.39 kB / 1.025 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/1.074, allocations: 4 kB / 1.025 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.074, allocations: 317.1 kB / 1.026 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/1.074, allocations: 19.62 kB / 1.026 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/1.074, allocations: 37.56 kB / 1.026 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/1.074, allocations: 8 kB / 1.026 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.074, allocations: 0 / 1.026 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001748/1.075, allocations: 87.64 kB / 1.026 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.075, allocations: 4 kB / 1.026 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.075, allocations: 0 / 1.026 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.075, allocations: 4 kB / 1.026 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/1.075, allocations: 7.625 kB / 1.026 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.075, allocations: 3.938 kB / 1.026 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/1.075, allocations: 19.94 kB / 1.026 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/1.075, allocations: 0 / 1.026 GB, free: 484 kB / 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 9.316e-05/1.075, allocations: 117.1 kB / 1.026 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/1.075, allocations: 7.906 kB / 1.026 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/1.075, allocations: 12.19 kB / 1.026 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.075, allocations: 0 / 1.026 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.075, allocations: 3.984 kB / 1.026 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.075, allocations: 0 / 1.026 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/1.075, allocations: 180 kB / 1.026 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.075, allocations: 0 / 1.026 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/1.075, allocations: 4 kB / 1.026 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.075, allocations: 4 kB / 1.026 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.076, allocations: 0 / 1.026 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.076, allocations: 0 / 1.026 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.076, allocations: 0 / 1.026 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/1.076, allocations: 107.8 kB / 1.026 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/1.076, allocations: 80.55 kB / 1.026 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/1.076, allocations: 0 / 1.026 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/1.076, allocations: 19.94 kB / 1.026 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/1.076, allocations: 11.97 kB / 1.026 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/1.076, allocations: 7.875 kB / 1.026 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.349e-05/1.076, allocations: 95.27 kB / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.076, allocations: 0 / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000243/1.076, allocations: 12 kB / 1.026 GB, free: 15.77 MB / 0.6511 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.0001549/1.077, allocations: 100.7 kB / 1.027 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001622/1.077, allocations: 46.12 kB / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.077, allocations: 0 / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/1.077, allocations: 19.62 kB / 1.027 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/1.077, allocations: 29.47 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/1.078, allocations: 100.3 kB / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/1.078, allocations: 0.6928 MB / 1.027 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.097e-05/1.078, allocations: 7.859 kB / 1.027 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/1.078, allocations: 11.44 kB / 1.027 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/1.078, allocations: 0 / 1.027 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of Templates: time 0.003933/1.082, allocations: 0.7426 MB / 1.028 GB, free: 14.02 MB / 0.6511 GB