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.0008274/0.0008275, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006093/0.006093, allocations: 169.6 kB / 16.27 MB, free: 6.355 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003511, allocations: 7.219 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3388, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001087/0.3399, allocations: 0.5593 MB / 1.075 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3416, allocations: 1.198 MB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.3417, allocations: 4 kB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.3417, allocations: 11.92 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/0.3418, allocations: 3.938 kB / 1.076 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.3423, allocations: 135.2 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3425, allocations: 139.7 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3426, allocations: 28.19 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3427, allocations: 47.91 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.627e-05/0.3429, allocations: 59.73 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.3429, allocations: 4 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.343, allocations: 23.98 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.343, allocations: 19.86 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.3431, allocations: 77.47 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.3433, allocations: 131.8 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3433, allocations: 0 / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3433, allocations: 0 / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3433, allocations: 0 / 1.077 GB, free: 5.066 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.0006616/0.344, allocations: 429 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3441, allocations: 12.03 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.3441, allocations: 8.844 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3442, allocations: 188.2 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3443, allocations: 4.375 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3443, allocations: 16.38 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.3446, allocations: 110.1 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3446, allocations: 192 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3447, allocations: 7.938 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3447, allocations: 3.984 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.3451, allocations: 103.9 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.3457, allocations: 392.5 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.346, allocations: 102.7 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.3462, allocations: 68.81 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3463, allocations: 0 / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.3466, allocations: 139.2 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.3466, allocations: 4 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000713/0.3473, allocations: 237.5 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3474, allocations: 55.41 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3475, allocations: 129.7 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3475, allocations: 33.7 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.3476, allocations: 104.1 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.3476, allocations: 31.55 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3477, allocations: 25.72 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3478, allocations: 322.8 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.3481, allocations: 95.88 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.3484, allocations: 125.5 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.3488, allocations: 205.4 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3488, allocations: 4 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006731/0.3495, allocations: 287 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.3496, allocations: 33.7 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3496, allocations: 3.984 kB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3496, allocations: 4.125 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.3498, allocations: 27.98 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3498, allocations: 11.94 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.3501, allocations: 61.41 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.3501, allocations: 12 kB / 1.08 GB, free: 1.461 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.0001164/0.3502, allocations: 137.6 kB / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.3503, allocations: 7.906 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.3508, allocations: 189.9 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3508, allocations: 4 kB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3508, allocations: 0 / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3508, allocations: 7.984 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006812/0.3515, allocations: 471 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3515, allocations: 0 / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3516, allocations: 27.91 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3516, allocations: 0 / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3516, allocations: 0 / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3516, allocations: 4 kB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.3517, allocations: 7.938 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.3521, allocations: 283.3 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.3522, allocations: 84.92 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3522, allocations: 7.984 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3524, allocations: 19.98 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.3524, allocations: 15.92 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3525, allocations: 11.98 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.3525, allocations: 95.39 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3525, allocations: 0 / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002956/0.3528, allocations: 35.98 kB / 1.081 GB, free: 15.97 MB / 0.8419 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.0001555/0.353, allocations: 111.2 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006046/0.3536, allocations: 255.1 kB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3536, allocations: 0 / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.3538, allocations: 84.14 kB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3542, allocations: 18.05 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.3546, allocations: 233 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3549, allocations: 0.6965 MB / 1.082 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.596e-05/0.3549, allocations: 8.562 kB / 1.082 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.355, allocations: 23.36 kB / 1.082 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.355, allocations: 0 / 1.082 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.004538/0.3595, allocations: 1.712 MB / 1.084 GB, free: 12.79 MB / 0.8419 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)