Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 198.6 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.826, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.22 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3289, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002392/0.3313, allocations: 0.8865 MB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.333, allocations: 1.221 MB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.3331, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.3331, allocations: 7.922 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.3332, allocations: 11.88 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.3337, allocations: 134.9 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.3339, allocations: 135.7 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.334, allocations: 28.2 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.3341, allocations: 59.81 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.3342, allocations: 55.75 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.3342, allocations: 8 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.3343, allocations: 23.97 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.3344, allocations: 19.92 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.3344, allocations: 47.78 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.3346, allocations: 143.9 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3347, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3347, allocations: 4 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3347, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 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.0006643/0.3353, allocations: 436.9 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3354, allocations: 12.02 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.3354, allocations: 20.75 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3356, allocations: 176.2 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3356, allocations: 4.375 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3356, allocations: 12.38 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.3359, allocations: 98.19 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3359, allocations: 4.188 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.336, allocations: 11.92 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.336, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.3363, allocations: 87.41 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.3369, allocations: 388.5 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.3372, allocations: 102.6 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.3374, allocations: 56.81 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3374, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/0.3378, allocations: 119.2 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.3378, allocations: 4 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006918/0.3385, allocations: 205.4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3386, allocations: 59.41 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.3387, allocations: 121.8 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.3387, allocations: 33.7 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.3388, allocations: 104 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3388, allocations: 35.56 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.3389, allocations: 45.7 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.339, allocations: 330.7 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.3393, allocations: 75.94 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.3396, allocations: 117.9 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.34, allocations: 181.9 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.34, allocations: 0 / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006101/0.3406, allocations: 263 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3407, allocations: 39.55 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3407, allocations: 11.98 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3407, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3408, allocations: 27.92 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3409, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.3411, allocations: 43.94 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.3411, allocations: 8 kB / 1.073 GB, free: 4.652 MB / 0.8262 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.y,$PRE.booPul1.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.3413, allocations: 137.7 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.3413, allocations: 7.906 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.3418, allocations: 178.4 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3418, allocations: 4 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3418, allocations: 0 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3418, allocations: 3.984 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006493/0.3424, allocations: 454.3 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3425, allocations: 0 / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3426, allocations: 19.97 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3426, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3426, allocations: 8 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3426, allocations: 3.938 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3426, allocations: 3.938 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.3431, allocations: 251.3 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.3431, allocations: 85.02 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.3432, allocations: 15.98 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3433, allocations: 7.984 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.3434, allocations: 19.92 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3434, allocations: 7.984 kB / 1.074 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.3434, allocations: 98.64 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3434, allocations: 0 / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002775/0.3437, allocations: 35.94 kB / 1.075 GB, free: 3.234 MB / 0.8262 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 (zeroCrossing.y,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/0.3439, allocations: 107.2 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.3445, allocations: 239.2 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3445, allocations: 0 / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.3447, allocations: 71.83 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.345, allocations: 20.8 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.3454, allocations: 220.7 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3457, allocations: 0.7004 MB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.473e-05/0.3457, allocations: 8.562 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.3458, allocations: 19.42 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.033e-06/0.3458, allocations: 0 / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of Templates: time 0.00489/0.3507, allocations: 1.719 MB / 1.078 GB, free: 92 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)