Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.846/1.846, allocations: 288.3 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 191.4 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.6306 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 98.59 kB / 0.7439 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 13.41 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2602, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8386/1.099, allocations: 138.6 MB / 1.115 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.099, allocations: 72.53 kB / 1.115 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007543/1.107, allocations: 2.481 MB / 1.117 GB, free: 31.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.657e-06/1.107, allocations: 0 / 1.117 GB, free: 31.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.107, allocations: 3.906 kB / 1.117 GB, free: 31.77 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006947/1.107, allocations: 440.1 kB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.108, allocations: 11.69 kB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/1.108, allocations: 7.75 kB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/1.108, allocations: 181.5 kB / 1.118 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/1.108, allocations: 11.38 kB / 1.118 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/1.108, allocations: 7.688 kB / 1.118 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/1.108, allocations: 111.5 kB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.108, allocations: 3.047 kB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.108, allocations: 7.812 kB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.108, allocations: 0 / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/1.109, allocations: 115.7 kB / 1.118 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/1.109, allocations: 384.8 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/1.109, allocations: 98.98 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/1.11, allocations: 7.812 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/1.11, allocations: 127.4 kB / 1.119 GB, free: 30.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/1.11, allocations: 0 / 1.119 GB, free: 30.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0006462/1.111, allocations: 249.7 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/1.111, allocations: 55.22 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.111, allocations: 114.4 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/1.111, allocations: 33.52 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.111, allocations: 98.34 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/1.111, allocations: 30.3 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/1.111, allocations: 7.781 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.111, allocations: 325.2 kB / 1.12 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/1.111, allocations: 90.19 kB / 1.12 GB, free: 30.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/1.112, allocations: 124.3 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/1.112, allocations: 116 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.112, allocations: 2.812 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005768/1.112, allocations: 276.4 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/1.113, allocations: 36.98 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.113, allocations: 7.75 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.113, allocations: 0 / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/1.113, allocations: 32.36 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.113, allocations: 3.812 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/1.113, allocations: 68.97 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/1.113, allocations: 7.438 kB / 1.12 GB, free: 29.87 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: 14 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul1.y,booPul1.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,triggeredSampler.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001254/1.113, allocations: 134.5 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/1.113, allocations: 7.719 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/1.114, allocations: 191.2 kB / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.114, allocations: 7.812 kB / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.114, allocations: 0 / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.114, allocations: 0 / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/1.114, allocations: 473.4 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.114, allocations: 0 / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/1.114, allocations: 24.64 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.114, allocations: 0 / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.114, allocations: 4 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.114, allocations: 3.812 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.114, allocations: 3.953 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/1.115, allocations: 274.9 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/1.115, allocations: 84.89 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/1.115, allocations: 6.125 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.115, allocations: 27.31 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/1.115, allocations: 20.41 kB / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/1.115, allocations: 6.969 kB / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.002e-05/1.115, allocations: 95.78 kB / 1.122 GB, free: 29.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.115, allocations: 0 / 1.122 GB, free: 29.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002882/1.116, allocations: 37.31 kB / 1.122 GB, free: 29.05 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: 9 (triggeredSampler.trigger,$whenCondition3,$whenCondition1,$whenCondition2,booPul1.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0002192/1.116, allocations: 122.1 kB / 1.122 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005798/1.116, allocations: 257.5 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.116, allocations: 4.062 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/1.117, allocations: 72.08 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/1.117, allocations: 19.73 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/1.117, allocations: 234.1 kB / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/1.118, allocations: 0.6991 MB / 1.123 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.545e-05/1.118, allocations: 11.17 kB / 1.123 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/1.118, allocations: 14.94 kB / 1.123 GB, free: 28 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.118, allocations: 0 / 1.123 GB, free: 28 MB / 0.698 GB Notification: Performance of Templates: time 0.003934/1.122, allocations: 1.631 MB / 1.125 GB, free: 27.86 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)