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.583/1.583, allocations: 285.7 MB / 293.1 MB, free: 10.18 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.001069/0.00107, allocations: 180.9 kB / 361.4 MB, free: 6.82 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.591/1.591, allocations: 205.3 MB / 0.62 GB, free: 11.6 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.0009078/0.0009072, allocations: 101.7 kB / 0.7331 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.005e-05, allocations: 8 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8172, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/1.037, allocations: 137.9 MB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.037, allocations: 72.52 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007481/1.044, allocations: 2.466 MB / 1.102 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/1.045, allocations: 0 / 1.102 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.045, allocations: 3.219 kB / 1.102 GB, free: 15.43 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.0007393/1.045, allocations: 436.4 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/1.045, allocations: 12.03 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/1.045, allocations: 8.938 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/1.046, allocations: 188.9 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/1.046, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/1.046, allocations: 8 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001767/1.046, allocations: 43.98 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/1.046, allocations: 61.61 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.046, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.046, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/1.046, allocations: 1.078 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/1.047, allocations: 353.3 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/1.047, allocations: 66.62 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/1.047, allocations: 36.86 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/1.047, allocations: 3.984 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/1.047, allocations: 93.53 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.704e-06/1.047, allocations: 1.312 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0003005/1.048, allocations: 109.3 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/1.048, allocations: 55.41 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/1.048, allocations: 114.7 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/1.048, allocations: 33.7 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/1.048, allocations: 100 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/1.048, allocations: 27.64 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/1.048, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.048, allocations: 322.8 kB / 1.104 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/1.048, allocations: 55.92 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/1.049, allocations: 84.28 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/1.049, allocations: 47.97 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.049, allocations: 0 / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005736/1.049, allocations: 182.2 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/1.05, allocations: 37.83 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.05, allocations: 4 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/1.05, allocations: 4 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/1.05, allocations: 23.97 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.05, allocations: 7.938 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/1.05, allocations: 59.86 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/1.05, allocations: 15.94 kB / 1.104 GB, free: 12.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.0001075/1.05, allocations: 106.4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/1.05, allocations: 11.91 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/1.051, allocations: 118.2 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.051, allocations: 4 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.051, allocations: 0 / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.051, allocations: 0 / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/1.051, allocations: 363 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.051, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/1.051, allocations: 27.91 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.051, allocations: 4 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/1.051, allocations: 2.5 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.051, allocations: 4 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.051, allocations: 0 / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/1.052, allocations: 199.3 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/1.052, allocations: 88.95 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/1.052, allocations: 3.984 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/1.052, allocations: 23.98 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/1.052, allocations: 15.97 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/1.052, allocations: 4 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.068e-05/1.052, allocations: 96.64 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.7e-07/1.052, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002781/1.052, allocations: 32.12 kB / 1.105 GB, free: 11.5 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.0002484/1.053, allocations: 130.1 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004112/1.053, allocations: 179.3 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.053, allocations: 1.875 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/1.053, allocations: 39.94 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/1.053, allocations: 14.83 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/1.054, allocations: 130.8 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/1.054, allocations: 0.7004 MB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.369e-05/1.054, allocations: 8.562 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/1.054, allocations: 15.42 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.054, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.004567/1.059, allocations: 1.531 MB / 1.108 GB, free: 8.754 MB / 0.7136 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)