Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.897/2.897, allocations: 287.5 MB / 302.4 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 169.2 kB / 371 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 94.28 kB / 0.743 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005132, allocations: 15.64 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2626, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9531/1.216, allocations: 137.9 MB / 1.113 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.216, allocations: 75.64 kB / 1.113 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01347/1.23, allocations: 2.927 MB / 1.116 GB, free: 31.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.23, allocations: 0 / 1.116 GB, free: 31.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.23, allocations: 0 / 1.116 GB, free: 31.71 MB / 0.698 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.0005043/1.23, allocations: 412.6 kB / 1.116 GB, free: 31.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.23, allocations: 14.58 kB / 1.116 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.646e-05/1.23, allocations: 11.56 kB / 1.116 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/1.23, allocations: 174.4 kB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/1.23, allocations: 7.75 kB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/1.231, allocations: 14.28 kB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/1.231, allocations: 46.22 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.231, allocations: 3.938 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.231, allocations: 7.062 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.231, allocations: 0 / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/1.231, allocations: 13.72 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/1.231, allocations: 346.8 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.658e-05/1.231, allocations: 40.55 kB / 1.117 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/1.231, allocations: 0 / 1.117 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/1.232, allocations: 85.42 kB / 1.117 GB, free: 30.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/1.232, allocations: 0 / 1.117 GB, free: 30.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003052/1.232, allocations: 101 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/1.232, allocations: 59.19 kB / 1.117 GB, free: 30.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.232, allocations: 112.2 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/1.232, allocations: 37.05 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/1.232, allocations: 89.53 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/1.232, allocations: 15.45 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/1.232, allocations: 7.656 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.233, allocations: 320.8 kB / 1.118 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.233, allocations: 58.17 kB / 1.118 GB, free: 30.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/1.233, allocations: 92.42 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/1.233, allocations: 116 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.233, allocations: 0 / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006076/1.234, allocations: 253.6 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/1.234, allocations: 73.05 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.234, allocations: 0 / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.234, allocations: 4.062 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.5e-05/1.234, allocations: 7.188 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/1.234, allocations: 5.547 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/1.235, allocations: 73.14 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/1.235, allocations: 14.88 kB / 1.119 GB, free: 29.76 MB / 0.698 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.0001347/1.235, allocations: 124.8 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/1.235, allocations: 3.844 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/1.235, allocations: 10.62 kB / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.235, allocations: 3.812 kB / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.235, allocations: 0 / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.235, allocations: 4 kB / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/1.235, allocations: 174.8 kB / 1.119 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.235, allocations: 3.984 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/1.235, allocations: 2.391 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.235, allocations: 0 / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/1.235, allocations: 11.53 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.235, allocations: 0 / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.235, allocations: 0 / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/1.235, allocations: 122.2 kB / 1.119 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/1.235, allocations: 81.02 kB / 1.119 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/1.235, allocations: 3.812 kB / 1.119 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/1.236, allocations: 6.938 kB / 1.119 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/1.236, allocations: 7.031 kB / 1.119 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/1.236, allocations: 6.328 kB / 1.119 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.376e-05/1.236, allocations: 85.42 kB / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.236, allocations: 3.844 kB / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003306/1.236, allocations: 38.34 kB / 1.119 GB, free: 29.17 MB / 0.698 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.0001806/1.236, allocations: 110 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004667/1.237, allocations: 246.2 kB / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.237, allocations: 0 / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/1.237, allocations: 28.64 kB / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/1.237, allocations: 22.12 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/1.237, allocations: 163.3 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/1.238, allocations: 0.6868 MB / 1.12 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.499e-05/1.238, allocations: 3.812 kB / 1.12 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/1.238, allocations: 18.33 kB / 1.12 GB, free: 28.1 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/1.238, allocations: 0 / 1.12 GB, free: 28.1 MB / 0.698 GB Notification: Performance of Templates: time 0.005312/1.243, allocations: 1.667 MB / 1.122 GB, free: 27.95 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)