Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001314, allocations: 180.3 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009293/0.000929, allocations: 91.44 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006458/0.0006462, allocations: 15.64 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2226, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.4497, allocations: 131.9 MB / 1.028 GB, free: 13.39 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.4501, allocations: 71.97 kB / 1.028 GB, free: 13.32 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.00626/0.4563, allocations: 1.366 MB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4564, allocations: 4 kB / 1.03 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.4564, allocations: 0 / 1.03 GB, free: 11.95 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008694/0.4573, allocations: 415.1 kB / 1.03 GB, free: 11.5 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4574, allocations: 8.031 kB / 1.03 GB, free: 11.49 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.4574, allocations: 8.844 kB / 1.03 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.4576, allocations: 180.3 kB / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4576, allocations: 8.312 kB / 1.03 GB, free: 11.26 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.4577, allocations: 16.36 kB / 1.03 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.4581, allocations: 102.2 kB / 1.03 GB, free: 11.14 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4582, allocations: 4.188 kB / 1.03 GB, free: 11.13 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.4582, allocations: 11.94 kB / 1.03 GB, free: 11.12 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.4582, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.4589, allocations: 113.5 kB / 1.031 GB, free: 11.01 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008728/0.4598, allocations: 364.6 kB / 1.031 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000906/0.4607, allocations: 162.5 kB / 1.031 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.4611, allocations: 64.81 kB / 1.031 GB, free: 10.37 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.4611, allocations: 0 / 1.031 GB, free: 10.37 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/0.4616, allocations: 123.3 kB / 1.031 GB, free: 10.24 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/0.4617, allocations: 3.938 kB / 1.031 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.001203/0.4629, allocations: 233.3 kB / 1.031 GB, free: 10 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.463, allocations: 55.41 kB / 1.032 GB, free: 9.934 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.4631, allocations: 126.1 kB / 1.032 GB, free: 9.797 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.4632, allocations: 33.7 kB / 1.032 GB, free: 9.758 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.4632, allocations: 95.98 kB / 1.032 GB, free: 9.66 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.4633, allocations: 27.7 kB / 1.032 GB, free: 9.633 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.4633, allocations: 0 / 1.032 GB, free: 9.633 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4635, allocations: 326.8 kB / 1.032 GB, free: 9.305 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.4638, allocations: 67.95 kB / 1.032 GB, free: 9.238 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.4642, allocations: 87.39 kB / 1.032 GB, free: 9.141 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.4646, allocations: 63.95 kB / 1.032 GB, free: 9.078 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4646, allocations: 0 / 1.032 GB, free: 9.078 MB / 0.6824 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000819/0.4654, allocations: 193.3 kB / 1.033 GB, free: 8.883 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4655, allocations: 4 kB / 1.033 GB, free: 8.879 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4655, allocations: 8.094 kB / 1.033 GB, free: 8.871 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4655, allocations: 0 / 1.033 GB, free: 8.871 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.4658, allocations: 27.97 kB / 1.033 GB, free: 8.844 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4658, allocations: 3.938 kB / 1.033 GB, free: 8.84 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.4661, allocations: 39.83 kB / 1.033 GB, free: 8.801 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.4661, allocations: 4 kB / 1.033 GB, free: 8.797 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,$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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0001493/0.4663, allocations: 133.6 kB / 1.033 GB, free: 8.656 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.4663, allocations: 7.906 kB / 1.033 GB, free: 8.648 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008393/0.4671, allocations: 189.8 kB / 1.033 GB, free: 8.457 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4672, allocations: 0 / 1.033 GB, free: 8.457 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4672, allocations: 0 / 1.033 GB, free: 8.457 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4672, allocations: 0 / 1.033 GB, free: 8.457 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.4683, allocations: 454.4 kB / 1.033 GB, free: 7.957 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4683, allocations: 4 kB / 1.033 GB, free: 7.953 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.4685, allocations: 27.91 kB / 1.033 GB, free: 7.926 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4686, allocations: 0 / 1.033 GB, free: 7.926 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.4686, allocations: 4 kB / 1.033 GB, free: 7.922 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4686, allocations: 4 kB / 1.033 GB, free: 7.918 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4686, allocations: 3.938 kB / 1.033 GB, free: 7.914 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.4695, allocations: 272.1 kB / 1.034 GB, free: 7.633 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.4695, allocations: 85.02 kB / 1.034 GB, free: 7.531 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.4696, allocations: 4 kB / 1.034 GB, free: 7.527 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.4699, allocations: 23.97 kB / 1.034 GB, free: 7.504 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.47, allocations: 23.91 kB / 1.034 GB, free: 7.48 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.47, allocations: 0 / 1.034 GB, free: 7.48 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.607e-05/0.4701, allocations: 101.3 kB / 1.034 GB, free: 7.383 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4e-07/0.4701, allocations: 3.938 kB / 1.034 GB, free: 7.379 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.000329/0.4705, allocations: 23.94 kB / 1.034 GB, free: 7.355 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.trigger,$whenCondition2,$whenCondition1,booPul1.pulseStart,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 (11): * Single equations (assignments): 9 * 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.000182/0.4707, allocations: 107.2 kB / 1.034 GB, free: 7.242 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0008043/0.4715, allocations: 155.8 kB / 1.034 GB, free: 7.09 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4715, allocations: 0 / 1.034 GB, free: 7.09 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.4719, allocations: 80.08 kB / 1.034 GB, free: 7.012 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.4723, allocations: 19.67 kB / 1.034 GB, free: 6.996 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.473, allocations: 215.4 kB / 1.034 GB, free: 6.746 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.4733, allocations: 0.6926 MB / 1.035 GB, free: 6.027 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 9.825e-05/0.4734, allocations: 8.547 kB / 1.035 GB, free: 6.02 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.4735, allocations: 15.44 kB / 1.035 GB, free: 6.004 MB / 0.6824 GB Notification: Performance of SimCode: time 1.052e-06/0.4735, allocations: 4 kB / 1.035 GB, free: 6 MB / 0.6824 GB Notification: Performance of Templates: time 0.004933/0.4784, allocations: 1.097 MB / 1.036 GB, free: 4.91 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)