Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.002079/0.002079, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.406/1.406, allocations: 205.1 MB / 223.1 MB, free: 12.31 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 1.893/1.893, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001469/0.00147, allocations: 67.91 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2475, allocations: 114.6 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002573/0.2502, allocations: 1.187 MB / 0.7852 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.2529, allocations: 2.158 MB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.253, allocations: 4 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.735e-05/0.2531, allocations: 19.69 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.2533, allocations: 83.27 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4569/0.7102, allocations: 1.374 MB / 0.7888 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.7116, allocations: 1.283 MB / 0.79 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.7117, allocations: 20.41 kB / 0.79 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.7122, allocations: 483.2 kB / 0.7905 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.7125, allocations: 340.6 kB / 0.7908 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.7127, allocations: 107 kB / 0.7909 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.7129, allocations: 123.7 kB / 0.791 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.713, allocations: 61.73 kB / 0.7911 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.7134, allocations: 387.9 kB / 0.7915 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007633/0.7142, allocations: 0.9619 MB / 0.7924 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7142, allocations: 3.812 kB / 0.7924 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7142, allocations: 0.5312 kB / 0.7924 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.7142, allocations: 1.406 kB / 0.7924 GB, free: 45.79 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00114/0.7153, allocations: 1.173 MB / 0.7936 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7154, allocations: 11.19 kB / 0.7936 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.7156, allocations: 67.42 kB / 0.7936 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.7157, allocations: 216.2 kB / 0.7938 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.7158, allocations: 40.12 kB / 0.7939 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.7159, allocations: 66.66 kB / 0.7939 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.7162, allocations: 222.2 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.7162, allocations: 192 / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.7162, allocations: 13.09 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.7162, allocations: 3.5 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.393e-05/0.7163, allocations: 67.97 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.7171, allocations: 0.8451 MB / 0.7951 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.7173, allocations: 324.9 kB / 0.7954 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.7174, allocations: 141 kB / 0.7955 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.7174, allocations: 10.3 kB / 0.7955 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/0.718, allocations: 461.9 kB / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.718, allocations: 0 / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.0009554/0.7189, allocations: 0.5642 MB / 0.7965 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.7191, allocations: 439.6 kB / 0.7969 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.7193, allocations: 298.9 kB / 0.7972 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.7194, allocations: 65.48 kB / 0.7973 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.7196, allocations: 163.1 kB / 0.7974 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.7197, allocations: 94.3 kB / 0.7975 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004444/0.7201, allocations: 274.3 kB / 0.7978 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7203, allocations: 355.1 kB / 0.7981 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/0.721, allocations: 424.1 kB / 0.7985 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009567/0.722, allocations: 0.7004 MB / 0.7992 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.7233, allocations: 1.192 MB / 0.8004 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.7233, allocations: 12.28 kB / 0.8004 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002777/0.7261, allocations: 1.715 MB / 0.8021 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.7264, allocations: 481 kB / 0.8025 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.7264, allocations: 10.77 kB / 0.8025 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.892e-05/0.7264, allocations: 16.28 kB / 0.8025 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.7265, allocations: 32.28 kB / 0.8026 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.7265, allocations: 21.95 kB / 0.8026 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.7292, allocations: 429.9 kB / 0.803 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.7295, allocations: 95.59 kB / 0.8031 GB, free: 39.67 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0004897/0.73, allocations: 212.6 kB / 0.8033 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7302, allocations: 50.8 kB / 0.8033 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.7303, allocations: 39.92 kB / 0.8034 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.7303, allocations: 9.594 kB / 0.8034 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/0.7303, allocations: 3.562 kB / 0.8034 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.7304, allocations: 8.688 kB / 0.8034 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.731, allocations: 327.1 kB / 0.8037 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.731, allocations: 3.875 kB / 0.8037 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.7311, allocations: 22.97 kB / 0.8037 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/0.7311, allocations: 11.62 kB / 0.8038 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.7311, allocations: 17.98 kB / 0.8038 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-05/0.7312, allocations: 10.28 kB / 0.8038 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.7312, allocations: 9.078 kB / 0.8038 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.7322, allocations: 0.5126 MB / 0.8043 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.7323, allocations: 119.2 kB / 0.8044 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.7324, allocations: 18.95 kB / 0.8044 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.7325, allocations: 17.41 kB / 0.8044 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.7327, allocations: 54.95 kB / 0.8045 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.7328, allocations: 28 kB / 0.8045 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002874/0.7331, allocations: 190.6 kB / 0.8047 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7331, allocations: 0 / 0.8047 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001128/0.7342, allocations: 199.9 kB / 0.8049 GB, free: 38.63 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002513/0.7345, allocations: 138.9 kB / 0.805 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002371/0.7368, allocations: 1.769 MB / 0.8067 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7369, allocations: 0 / 0.8067 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.7375, allocations: 365.1 kB / 0.8071 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008196/0.7384, allocations: 124.2 kB / 0.8072 GB, free: 37.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.7395, allocations: 0.6728 MB / 0.8079 GB, free: 36.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.7398, allocations: 0.7791 MB / 0.8086 GB, free: 35.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.7399, allocations: 39.25 kB / 0.8087 GB, free: 35.96 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.7399, allocations: 0 / 0.8087 GB, free: 35.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.017/0.7569, allocations: 7.575 MB / 0.8161 GB, free: 35.33 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)