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.892/1.892, allocations: 288.4 MB / 304.3 MB, free: 8.02 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.001074/0.001075, allocations: 189.7 kB / 372.9 MB, free: 10.12 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.761/1.761, allocations: 205.4 MB / 0.6316 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 90.3 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004194, allocations: 17.66 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 115.3 MB / 0.9808 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001066/0.2499, allocations: 0.514 MB / 0.9813 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.2516, allocations: 1.177 MB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.2517, allocations: 8 kB / 0.9824 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.2518, allocations: 3.938 kB / 0.9824 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.2519, allocations: 3.938 kB / 0.9824 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.2525, allocations: 126.1 kB / 0.9825 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.2526, allocations: 135.7 kB / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2528, allocations: 24.22 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2529, allocations: 43.91 kB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.253, allocations: 55.8 kB / 0.9828 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.253, allocations: 4 kB / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.2531, allocations: 19.98 kB / 0.9828 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.2531, allocations: 19.86 kB / 0.9828 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.2532, allocations: 73.47 kB / 0.9829 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.2534, allocations: 108 kB / 0.983 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.2534, allocations: 0 / 0.983 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2534, allocations: 0 / 0.983 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2534, allocations: 0 / 0.983 GB, free: 24.99 MB / 0.6198 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.0007169/0.2541, allocations: 425 kB / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.2542, allocations: 8.031 kB / 0.9834 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.2543, allocations: 16.78 kB / 0.9834 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2544, allocations: 177.6 kB / 0.9836 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2544, allocations: 12.38 kB / 0.9836 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.2544, allocations: 12.38 kB / 0.9836 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.2547, allocations: 106.1 kB / 0.9837 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2548, allocations: 192 / 0.9837 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2548, allocations: 7.938 kB / 0.9837 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2548, allocations: 4 kB / 0.9837 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.2551, allocations: 111.9 kB / 0.9839 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.2557, allocations: 388.4 kB / 0.9842 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.2559, allocations: 102.7 kB / 0.9843 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2561, allocations: 68.81 kB / 0.9844 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.2561, allocations: 4 kB / 0.9844 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.2564, allocations: 135.2 kB / 0.9845 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.2565, allocations: 0 / 0.9845 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005999/0.2571, allocations: 241.4 kB / 0.9847 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2571, allocations: 51.41 kB / 0.9848 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.765e-05/0.2572, allocations: 131.9 kB / 0.9849 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2572, allocations: 37.7 kB / 0.985 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.2573, allocations: 100.1 kB / 0.9851 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.2573, allocations: 35.48 kB / 0.9851 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.2573, allocations: 4 kB / 0.9851 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.2574, allocations: 326.8 kB / 0.9854 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.2577, allocations: 91.94 kB / 0.9855 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.2579, allocations: 116.2 kB / 0.9856 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.2583, allocations: 205.9 kB / 0.9858 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2583, allocations: 0 / 0.9858 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005428/0.2589, allocations: 296.8 kB / 0.9861 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.2589, allocations: 37.69 kB / 0.9861 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2589, allocations: 3.984 kB / 0.9861 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.259, allocations: 4.125 kB / 0.9861 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2591, allocations: 27.98 kB / 0.9862 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.2591, allocations: 4 kB / 0.9862 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.2594, allocations: 63.78 kB / 0.9862 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2594, allocations: 12 kB / 0.9862 GB, free: 21.42 MB / 0.6198 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,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.339e-05/0.2595, allocations: 135.2 kB / 0.9864 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.2595, allocations: 11.89 kB / 0.9864 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.26, allocations: 190 kB / 0.9865 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.26, allocations: 3.938 kB / 0.9866 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2601, allocations: 4 kB / 0.9866 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.2601, allocations: 88.95 kB / 0.9866 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2601, allocations: 7.938 kB / 0.9866 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.2602, allocations: 19.92 kB / 0.9867 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.2603, allocations: 23.95 kB / 0.9867 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004772/0.2608, allocations: 264.9 kB / 0.9869 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003991/0.2612, allocations: 358.5 kB / 0.9873 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001758/0.2614, allocations: 75.94 kB / 0.9874 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.2614, allocations: 96.64 kB / 0.9874 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of Backend: time 3.91e-07/0.2614, allocations: 0 / 0.9874 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006842/0.2621, allocations: 278.2 kB / 0.9877 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000472/0.2626, allocations: 0.6447 MB / 0.9883 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.004167/0.2668, allocations: 1.851 MB / 0.9902 GB, free: 17.3 MB / 0.6198 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)