Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009658/0.0009658, allocations: 166.5 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008506/0.0008506, allocations: 101.1 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003521, allocations: 15.36 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.00186/0.2637, allocations: 1.257 MB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000617/0.2643, allocations: 289.7 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.769e-05/0.2644, allocations: 3.938 kB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.16e-05/0.2645, allocations: 3.938 kB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2646, allocations: 11.86 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2649, allocations: 31.97 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.265, allocations: 91.75 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.2652, allocations: 36.36 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2653, allocations: 31.86 kB / 0.8985 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.2654, allocations: 43.81 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.2654, allocations: 0 / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.2655, allocations: 4 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.2655, allocations: 15.92 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.2656, allocations: 35.8 kB / 0.8986 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2657, allocations: 79.7 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2657, allocations: 3.938 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.524e-06/0.2657, allocations: 0 / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2657, allocations: 4 kB / 0.8986 GB, free: 66.25 MB / 0.6042 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.0007304/0.2665, allocations: 411 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2665, allocations: 12.03 kB / 0.899 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.2666, allocations: 12.84 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2668, allocations: 176.2 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.2668, allocations: 8.375 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.2668, allocations: 4.375 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2671, allocations: 116.3 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2672, allocations: 192 / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.2672, allocations: 7.938 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2672, allocations: 7.938 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.2676, allocations: 111.9 kB / 0.8995 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.2682, allocations: 356.6 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.2687, allocations: 162.5 kB / 0.9 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.2688, allocations: 68.81 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.2689, allocations: 0 / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003343/0.2693, allocations: 127.3 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.325e-06/0.2693, allocations: 0 / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006081/0.2699, allocations: 229.4 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.2699, allocations: 51.41 kB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.27, allocations: 130.1 kB / 0.9005 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.27, allocations: 33.7 kB / 0.9006 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.2701, allocations: 92.05 kB / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.2701, allocations: 35.62 kB / 0.9007 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.2702, allocations: 21.7 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.2702, allocations: 322.8 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2704, allocations: 63.95 kB / 0.9011 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.2706, allocations: 99.38 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.2709, allocations: 147.7 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2709, allocations: 0 / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003933/0.2713, allocations: 201.3 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2714, allocations: 4 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.2714, allocations: 3.984 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2714, allocations: 4.094 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2715, allocations: 35.97 kB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2715, allocations: 0 / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2717, allocations: 35.81 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2717, allocations: 4 kB / 0.9016 GB, free: 62.96 MB / 0.6042 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.2718, allocations: 137.7 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.2718, allocations: 7.906 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.2722, allocations: 185.9 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2722, allocations: 3.938 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2722, allocations: 0 / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.2723, allocations: 81.02 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2723, allocations: 4 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2724, allocations: 35.91 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.2725, allocations: 19.97 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004587/0.273, allocations: 256.9 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003888/0.2734, allocations: 354.5 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001759/0.2735, allocations: 67.95 kB / 0.9027 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.2736, allocations: 98.27 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of Backend: time 2.91e-07/0.2736, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005877/0.2742, allocations: 170.7 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005262/0.2747, allocations: 0.6544 MB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.004022/0.2788, allocations: 1.355 MB / 0.9049 GB, free: 59.46 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)