Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001233/0.001233, allocations: 184.8 kB / 366.7 MB, free: 1.629 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.68/1.68, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008342/0.0008342, allocations: 79.88 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.943e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.7525, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2142/0.9668, allocations: 138.9 MB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.9672, allocations: 71.95 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007564/0.9748, allocations: 2.461 MB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9748, allocations: 0 / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.9749, allocations: 4.875 kB / 1.111 GB, free: 8.828 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.0006631/0.9755, allocations: 429.2 kB / 1.112 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.9756, allocations: 8.031 kB / 1.112 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.9757, allocations: 19.89 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.9758, allocations: 178.8 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.9759, allocations: 4 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.9759, allocations: 8 kB / 1.112 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001414/0.9761, allocations: 41.11 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.9762, allocations: 65.67 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9762, allocations: 0 / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.9763, allocations: 0 / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.9763, allocations: 4 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.977, allocations: 355.6 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.9771, allocations: 62.69 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.9772, allocations: 36.98 kB / 1.113 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.9773, allocations: 4 kB / 1.113 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.9775, allocations: 91.22 kB / 1.113 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.9775, allocations: 0 / 1.113 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0003414/0.9779, allocations: 106 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.978, allocations: 55.41 kB / 1.113 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.9781, allocations: 114.7 kB / 1.113 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.9782, allocations: 29.7 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.9783, allocations: 104 kB / 1.113 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.9783, allocations: 31.62 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.9783, allocations: 3.938 kB / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.9786, allocations: 322.8 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.9787, allocations: 51.98 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.9788, allocations: 89.62 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.9791, allocations: 47.97 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9791, allocations: 4 kB / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004765/0.9796, allocations: 175.2 kB / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.9796, allocations: 33.7 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9797, allocations: 0 / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.9797, allocations: 4.125 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.9799, allocations: 35.91 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.9799, allocations: 4 kB / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.9802, allocations: 55.86 kB / 1.114 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.9802, allocations: 15.94 kB / 1.114 GB, free: 6.078 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.00014/0.9804, allocations: 116.9 kB / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.9804, allocations: 7.906 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.9806, allocations: 110.2 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.9807, allocations: 0 / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9807, allocations: 8 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.9807, allocations: 3.984 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.9811, allocations: 355.8 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.9811, allocations: 6.125 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.9813, allocations: 23.97 kB / 1.114 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.9813, allocations: 0 / 1.114 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.9813, allocations: 4 kB / 1.114 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9813, allocations: 0 / 1.114 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9813, allocations: 1.312 kB / 1.114 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.9816, allocations: 212.8 kB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.9816, allocations: 92.94 kB / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.9817, allocations: 0 / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.9818, allocations: 19.98 kB / 1.115 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.9819, allocations: 19.97 kB / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.9819, allocations: 0 / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.986e-05/0.982, allocations: 99.39 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.982, allocations: 0 / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002674/0.9823, allocations: 28 kB / 1.115 GB, free: 4.902 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.0002563/0.9825, allocations: 123.2 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.9829, allocations: 179.5 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9829, allocations: 0 / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.983, allocations: 39.94 kB / 1.115 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.9832, allocations: 21.36 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.9836, allocations: 125.4 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.984, allocations: 0.7079 MB / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.717e-05/0.9841, allocations: 12.55 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.9841, allocations: 11.44 kB / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9841, allocations: 0 / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of Templates: time 0.004532/0.9887, allocations: 1.53 MB / 1.118 GB, free: 2.164 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)