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.ZeroCrossing.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.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.545/2.545, allocations: 284.8 MB / 297.3 MB, free: 6.34 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.001423/0.001423, allocations: 180.8 kB / 365.7 MB, free: 2.59 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.003/2.003, allocations: 205.1 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001112, allocations: 95.38 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.314e-05, allocations: 4 kB / 0.8575 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.8994, allocations: 115.2 MB / 0.97 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/1.134, allocations: 138.4 MB / 1.105 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.134, allocations: 73.22 kB / 1.105 GB, free: 14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01199/1.146, allocations: 2.478 MB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.674e-06/1.146, allocations: 0.5312 kB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.082e-05/1.146, allocations: 4 kB / 1.108 GB, free: 11.58 MB / 0.7136 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.0007862/1.147, allocations: 430.9 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.147, allocations: 10.47 kB / 1.108 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/1.147, allocations: 13.11 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/1.147, allocations: 178.9 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/1.147, allocations: 4 kB / 1.108 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/1.147, allocations: 13.22 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/1.148, allocations: 73.61 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.148, allocations: 4 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/1.148, allocations: 4 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/1.148, allocations: 4 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/1.148, allocations: 43.98 kB / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/1.149, allocations: 376.6 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/1.149, allocations: 74.69 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/1.149, allocations: 32.86 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/1.149, allocations: 3.984 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/1.149, allocations: 104.9 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 3.006e-06/1.149, allocations: 0.75 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.000359/1.15, allocations: 109.6 kB / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.15, allocations: 59.34 kB / 1.109 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.15, allocations: 118.9 kB / 1.109 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/1.15, allocations: 29.7 kB / 1.109 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/1.15, allocations: 100 kB / 1.109 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/1.15, allocations: 31.62 kB / 1.109 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/1.15, allocations: 4 kB / 1.109 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.15, allocations: 325.3 kB / 1.11 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/1.15, allocations: 56 kB / 1.11 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/1.151, allocations: 90.62 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/1.151, allocations: 81.61 kB / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.151, allocations: 0 / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006114/1.152, allocations: 220.8 kB / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/1.152, allocations: 33.7 kB / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.152, allocations: 0 / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.152, allocations: 4 kB / 1.11 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/1.152, allocations: 27.92 kB / 1.11 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.152, allocations: 4 kB / 1.11 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/1.152, allocations: 62.36 kB / 1.11 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/1.152, allocations: 11.98 kB / 1.11 GB, free: 8.66 MB / 0.7136 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 () * 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.0001402/1.153, allocations: 124.9 kB / 1.11 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/1.153, allocations: 7.906 kB / 1.11 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/1.153, allocations: 129.7 kB / 1.11 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.153, allocations: 0 / 1.11 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.153, allocations: 3.953 kB / 1.11 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.153, allocations: 3.984 kB / 1.11 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/1.154, allocations: 390.5 kB / 1.111 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.154, allocations: 0 / 1.111 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/1.154, allocations: 27.92 kB / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.154, allocations: 0 / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/1.154, allocations: 11.94 kB / 1.111 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/1.154, allocations: 0 / 1.111 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.154, allocations: 0 / 1.111 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/1.154, allocations: 209.2 kB / 1.111 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/1.154, allocations: 92.95 kB / 1.111 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/1.154, allocations: 0 / 1.111 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/1.155, allocations: 27.92 kB / 1.111 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/1.155, allocations: 19.97 kB / 1.111 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/1.155, allocations: 1.438 kB / 1.111 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.672e-05/1.155, allocations: 97.27 kB / 1.111 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.214e-06/1.155, allocations: 0 / 1.111 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004232/1.155, allocations: 44.06 kB / 1.111 GB, free: 7.395 MB / 0.7136 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) * 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.0002142/1.156, allocations: 119.9 kB / 1.111 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004656/1.156, allocations: 183.3 kB / 1.112 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.156, allocations: 4 kB / 1.112 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/1.156, allocations: 43.94 kB / 1.112 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/1.157, allocations: 24.8 kB / 1.112 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/1.157, allocations: 131.8 kB / 1.112 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/1.157, allocations: 0.6965 MB / 1.113 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.98e-05/1.157, allocations: 8.562 kB / 1.113 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/1.157, allocations: 19.36 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.157, allocations: 4 kB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of Templates: time 0.006312/1.164, allocations: 1.635 MB / 1.114 GB, free: 4.539 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)