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.0009694/0.0009696, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.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.728/1.728, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005446/0.0005448, allocations: 21.88 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2784, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001613/0.2801, allocations: 0.8417 MB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.2826, allocations: 1.893 MB / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.2827, allocations: 4 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.2828, allocations: 11.81 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.283, allocations: 95.73 kB / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.2857, allocations: 1.275 MB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006623/0.2864, allocations: 0.5811 MB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.2865, allocations: 24.73 kB / 0.7918 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.2868, allocations: 415.3 kB / 0.7921 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.2872, allocations: 323.1 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2873, allocations: 63.94 kB / 0.7925 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2875, allocations: 71.98 kB / 0.7926 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.2876, allocations: 51.81 kB / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2877, allocations: 129.5 kB / 0.7928 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.2883, allocations: 0.6664 MB / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2883, allocations: 0 / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2883, allocations: 0 / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2884, allocations: 0 / 0.7934 GB, free: 5.543 MB / 0.6075 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.0009647/0.2893, allocations: 1.008 MB / 0.7944 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2894, allocations: 8.031 kB / 0.7944 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.2895, allocations: 63.62 kB / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.2897, allocations: 215.3 kB / 0.7947 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.2898, allocations: 35.98 kB / 0.7947 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.2899, allocations: 71.98 kB / 0.7948 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.2902, allocations: 210.3 kB / 0.795 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2902, allocations: 4 kB / 0.795 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2903, allocations: 7.984 kB / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2903, allocations: 0 / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.2904, allocations: 71.72 kB / 0.795 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.2912, allocations: 0.8522 MB / 0.7959 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.2915, allocations: 319.2 kB / 0.7962 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.2916, allocations: 12.06 kB / 0.7962 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.2921, allocations: 462.8 kB / 0.7966 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.973e-06/0.2922, allocations: 0 / 0.7966 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009295/0.2931, allocations: 0.5656 MB / 0.7972 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.2933, allocations: 439.2 kB / 0.7976 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.2936, allocations: 288.4 kB / 0.7979 GB, free: 320 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.2937, allocations: 69.7 kB / 0.798 GB, free: 244 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.2939, allocations: 161.2 kB / 0.7981 GB, free: 76 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.013e-05/0.294, allocations: 91.05 kB / 0.7982 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2941, allocations: 39.98 kB / 0.7982 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2943, allocations: 350.8 kB / 0.7986 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.295, allocations: 417.3 kB / 0.799 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/0.296, allocations: 0.6949 MB / 0.7996 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.2969, allocations: 0.8333 MB / 0.8005 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.2969, allocations: 4 kB / 0.8005 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002469/0.2994, allocations: 1.716 MB / 0.8021 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.2997, allocations: 477.5 kB / 0.8026 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.2997, allocations: 8 kB / 0.8026 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.2998, allocations: 17.06 kB / 0.8026 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.2998, allocations: 35.8 kB / 0.8026 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.2999, allocations: 19.92 kB / 0.8027 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.3023, allocations: 0.5683 MB / 0.8032 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.3025, allocations: 103.9 kB / 0.8033 GB, free: 10.3 MB / 0.6231 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 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003716/0.3029, allocations: 225.5 kB / 0.8035 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.303, allocations: 39.53 kB / 0.8036 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.842e-05/0.3031, allocations: 38.14 kB / 0.8036 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3031, allocations: 8 kB / 0.8036 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.3031, allocations: 8 kB / 0.8036 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3031, allocations: 3.984 kB / 0.8036 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.3035, allocations: 325.3 kB / 0.8039 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3035, allocations: 7.953 kB / 0.8039 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.3036, allocations: 23.92 kB / 0.804 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.3036, allocations: 4 kB / 0.804 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.3036, allocations: 19.98 kB / 0.804 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3036, allocations: 7.984 kB / 0.804 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.3036, allocations: 11.94 kB / 0.804 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.3044, allocations: 0.6721 MB / 0.8047 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.3044, allocations: 116.7 kB / 0.8048 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.3045, allocations: 15.98 kB / 0.8048 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3046, allocations: 8 kB / 0.8048 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.3047, allocations: 67.81 kB / 0.8049 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.3048, allocations: 27.98 kB / 0.8049 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000148/0.3049, allocations: 187.1 kB / 0.8051 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3049, allocations: 4 kB / 0.8051 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006329/0.3056, allocations: 200 kB / 0.8053 GB, free: 8.086 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/0.3058, allocations: 139.1 kB / 0.8054 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.3076, allocations: 1.745 MB / 0.8071 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3076, allocations: 0 / 0.8071 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.3079, allocations: 181.4 kB / 0.8073 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.3085, allocations: 119.3 kB / 0.8074 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009934/0.3095, allocations: 0.6759 MB / 0.8081 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3099, allocations: 0.7878 MB / 0.8088 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.31, allocations: 46.95 kB / 0.8089 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.31, allocations: 35.42 kB / 0.8089 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.31, allocations: 0 / 0.8089 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of Templates: time 0.01925/0.3293, allocations: 10.88 MB / 0.8195 GB, free: 9.371 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: