Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.825/4.825, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002462/0.002462, allocations: 359 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.169/4.169, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001922/0.001922, allocations: 183.4 kB / 1.226 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004872, allocations: 12 kB / 1.349 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.7192, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.9196, allocations: 137.9 MB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.9199, allocations: 71.91 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.9333, allocations: 2.931 MB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9334, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9334, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004307/0.9339, allocations: 410.6 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.9339, allocations: 15.62 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.934, allocations: 8.875 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.9341, allocations: 174.9 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.9341, allocations: 4 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.9342, allocations: 13.03 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.9343, allocations: 49.67 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.9344, allocations: 0.7188 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.9344, allocations: 0 / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9344, allocations: 2.656 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.9345, allocations: 15.98 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.9351, allocations: 356.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.304e-05/0.9352, allocations: 27.14 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.9352, allocations: 18.58 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.9352, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.9354, allocations: 82.28 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/0.9355, allocations: 7.875 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002981/0.9358, allocations: 97.89 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.9358, allocations: 59.41 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.9359, allocations: 130.8 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.936, allocations: 29.7 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.9361, allocations: 88.89 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.9361, allocations: 11.81 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.9361, allocations: 4.562 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.9362, allocations: 323.8 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.9364, allocations: 55.97 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.9366, allocations: 97.75 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.9368, allocations: 109 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9368, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005891/0.9374, allocations: 258.4 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.9375, allocations: 71.39 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.9375, allocations: 1.656 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9376, allocations: 0 / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.782e-05/0.9376, allocations: 4 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.9376, allocations: 8 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.9382, allocations: 83.92 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.9383, allocations: 14.19 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001154/0.9384, allocations: 119.3 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.9384, allocations: 4 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.9385, allocations: 13.33 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.9385, allocations: 4.5 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9385, allocations: 0 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9385, allocations: 0.7812 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.9387, allocations: 177.6 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9387, allocations: 4.781 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.9387, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.9387, allocations: 6.891 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.9388, allocations: 4.062 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.9388, allocations: 4 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9388, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.939, allocations: 112.9 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.939, allocations: 88.95 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.9391, allocations: 0.5 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.9391, allocations: 4.562 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.9392, allocations: 8.516 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.9392, allocations: 5.375 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.9393, allocations: 91.27 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9393, allocations: 0 / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003439/0.9396, allocations: 39.94 kB / 1.602 GB, free: 139.7 MB / 0.8542 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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.0001749/0.9398, allocations: 109.4 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.9403, allocations: 251.2 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9403, allocations: 0 / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.9403, allocations: 24.53 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.9407, allocations: 23.8 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.9411, allocations: 164.1 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.9412, allocations: 0.6901 MB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.877e-05/0.9413, allocations: 4.797 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.9413, allocations: 14 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/0.9413, allocations: 3.938 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005508/0.9468, allocations: 1.696 MB / 1.605 GB, free: 136.8 MB / 0.8542 GB