Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.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.001186/0.001186, allocations: 109.4 kB / 16.38 MB, free: 6.004 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.001133/0.001133, allocations: 194.3 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.018/2.018, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 68.12 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2649, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002396/0.2674, allocations: 0.8225 MB / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2691, allocations: 1.199 MB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.2692, allocations: 4 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.2693, allocations: 11.88 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.633e-05/0.2694, allocations: 15.8 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.2699, allocations: 147 kB / 0.787 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.2702, allocations: 155.7 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2703, allocations: 28.2 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.2704, allocations: 59.83 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.2705, allocations: 59.8 kB / 0.7873 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.2706, allocations: 12 kB / 0.7873 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.2707, allocations: 27.98 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.2707, allocations: 23.91 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.2708, allocations: 67.7 kB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.271, allocations: 147.5 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.271, allocations: 3.938 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2711, allocations: 0 / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.2711, allocations: 0 / 0.7875 GB, free: 392 kB / 0.6544 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.5741/0.8452, allocations: 438.6 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.8453, allocations: 9.906 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.43e-05/0.8454, allocations: 11.34 kB / 0.788 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.8455, allocations: 177.9 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.8455, allocations: 9.344 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.8456, allocations: 15.19 kB / 0.7882 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.8459, allocations: 102.1 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.846, allocations: 3.594 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.846, allocations: 6.969 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.846, allocations: 0 / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.8463, allocations: 86.39 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.847, allocations: 381 kB / 0.7887 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.8473, allocations: 98.19 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.8475, allocations: 59.41 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.8475, allocations: 0 / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.8479, allocations: 117.1 kB / 0.789 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 3.256e-06/0.8479, allocations: 1.938 kB / 0.789 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0006832/0.8486, allocations: 211.5 kB / 0.7892 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.8486, allocations: 57.33 kB / 0.7892 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.8487, allocations: 124.3 kB / 0.7893 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.8487, allocations: 32.64 kB / 0.7894 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.8488, allocations: 103.4 kB / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.8488, allocations: 33.62 kB / 0.7895 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.8489, allocations: 48.8 kB / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.849, allocations: 324.2 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.8492, allocations: 75.98 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.8495, allocations: 124.3 kB / 0.7901 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.8499, allocations: 181 kB / 0.7902 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8499, allocations: 3.5 kB / 0.7902 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005834/0.8505, allocations: 269.4 kB / 0.7905 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.8505, allocations: 41.78 kB / 0.7905 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8505, allocations: 1.375 kB / 0.7905 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8506, allocations: 5.906 kB / 0.7905 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.8507, allocations: 16.41 kB / 0.7905 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.8507, allocations: 5.016 kB / 0.7906 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.851, allocations: 43.45 kB / 0.7906 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.851, allocations: 8.953 kB / 0.7906 GB, free: 47.41 MB / 0.6544 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 9.591e-05/0.8511, allocations: 140 kB / 0.7907 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.8511, allocations: 9.406 kB / 0.7907 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.8516, allocations: 170.6 kB / 0.7909 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.8516, allocations: 2.625 kB / 0.7909 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8516, allocations: 0.7188 kB / 0.7909 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.8516, allocations: 84.64 kB / 0.791 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.8517, allocations: 2.625 kB / 0.791 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.8518, allocations: 18.56 kB / 0.791 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.8518, allocations: 20.33 kB / 0.791 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004642/0.8523, allocations: 244.9 kB / 0.7913 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004547/0.8528, allocations: 335.8 kB / 0.7916 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002168/0.853, allocations: 63.08 kB / 0.7916 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.8531, allocations: 98.77 kB / 0.7917 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Backend: time 8.42e-07/0.8531, allocations: 3.844 kB / 0.7917 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007521/0.8538, allocations: 264.9 kB / 0.792 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005321/0.8544, allocations: 0.6315 MB / 0.7926 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.004862/0.8592, allocations: 2.118 MB / 0.7947 GB, free: 45.97 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)