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.001112/0.001112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001465/0.001465, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.731/1.731, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.902/1.902, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.002789/0.00279, allocations: 69.3 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3207, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002429/0.3231, allocations: 1.234 MB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002525/0.3257, allocations: 2.166 MB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.3258, allocations: 0 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.324e-05/0.3259, allocations: 19.8 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.3261, allocations: 71.41 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.329, allocations: 1.304 MB / 0.7876 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.3303, allocations: 1.291 MB / 0.7888 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.3304, allocations: 24.75 kB / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.331, allocations: 475.2 kB / 0.7893 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.3313, allocations: 343 kB / 0.7896 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.3315, allocations: 112 kB / 0.7897 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.3318, allocations: 116 kB / 0.7898 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.3318, allocations: 59.83 kB / 0.7899 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.3323, allocations: 399 kB / 0.7903 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009388/0.3332, allocations: 0.9704 MB / 0.7912 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.3332, allocations: 4 kB / 0.7912 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3332, allocations: 0 / 0.7912 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3333, allocations: 0 / 0.7912 GB, free: 5.359 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.001486/0.3348, allocations: 1.172 MB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3348, allocations: 12.03 kB / 0.7924 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.3351, allocations: 64.64 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3353, allocations: 220.4 kB / 0.7927 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.3353, allocations: 36.36 kB / 0.7927 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.3355, allocations: 68.38 kB / 0.7928 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.3358, allocations: 210.9 kB / 0.793 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3359, allocations: 4.125 kB / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.3359, allocations: 15.92 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3359, allocations: 4 kB / 0.793 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3361, allocations: 67.72 kB / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.337, allocations: 0.8483 MB / 0.7939 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.3373, allocations: 319.2 kB / 0.7942 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3374, allocations: 144.9 kB / 0.7943 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3374, allocations: 7.938 kB / 0.7943 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.3381, allocations: 466.7 kB / 0.7948 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.3381, allocations: 0 / 0.7948 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.001036/0.3391, allocations: 0.5618 MB / 0.7953 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002204/0.3394, allocations: 443.2 kB / 0.7957 GB, free: 64 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.3397, allocations: 296.2 kB / 0.796 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.3399, allocations: 69.69 kB / 0.7961 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3401, allocations: 157.3 kB / 0.7962 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3403, allocations: 98.84 kB / 0.7963 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004757/0.3407, allocations: 274 kB / 0.7966 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3409, allocations: 350.8 kB / 0.7969 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/0.3418, allocations: 425.3 kB / 0.7973 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009632/0.3428, allocations: 0.6989 MB / 0.798 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.344, allocations: 1.191 MB / 0.7992 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.344, allocations: 4 kB / 0.7992 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002568/0.3466, allocations: 1.721 MB / 0.8009 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002758/0.3469, allocations: 485.4 kB / 0.8013 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3469, allocations: 12 kB / 0.8013 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.3469, allocations: 12 kB / 0.8014 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.347, allocations: 27.86 kB / 0.8014 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.347, allocations: 19.92 kB / 0.8014 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.3494, allocations: 431.2 kB / 0.8018 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.3496, allocations: 95.92 kB / 0.8019 GB, free: 9.156 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 (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.0003766/0.35, allocations: 217.5 kB / 0.8021 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.3501, allocations: 43.47 kB / 0.8022 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.787e-05/0.3502, allocations: 42.14 kB / 0.8022 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3502, allocations: 15.97 kB / 0.8022 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.3502, allocations: 4 kB / 0.8022 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3503, allocations: 4 kB / 0.8022 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.3506, allocations: 333.4 kB / 0.8025 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3507, allocations: 4 kB / 0.8025 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.3507, allocations: 15.92 kB / 0.8026 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.3507, allocations: 11.94 kB / 0.8026 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.3507, allocations: 15.98 kB / 0.8026 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.3508, allocations: 7.984 kB / 0.8026 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.3508, allocations: 11.88 kB / 0.8026 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.3514, allocations: 0.5199 MB / 0.8031 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.3515, allocations: 116.6 kB / 0.8032 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.3516, allocations: 15.98 kB / 0.8032 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3517, allocations: 11.98 kB / 0.8032 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.3518, allocations: 71.75 kB / 0.8033 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.3518, allocations: 27.98 kB / 0.8033 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001399/0.352, allocations: 187.1 kB / 0.8035 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.352, allocations: 4 kB / 0.8035 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006334/0.3526, allocations: 192 kB / 0.8037 GB, free: 7.176 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 (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.0002616/0.3529, allocations: 147.1 kB / 0.8038 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.3548, allocations: 1.762 MB / 0.8056 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3549, allocations: 4 kB / 0.8056 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.3551, allocations: 184.7 kB / 0.8057 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.3558, allocations: 128 kB / 0.8059 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.357, allocations: 0.7053 MB / 0.8066 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.3574, allocations: 0.7761 MB / 0.8073 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.3575, allocations: 43.34 kB / 0.8074 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3576, allocations: 39.42 kB / 0.8074 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.3576, allocations: 0 / 0.8074 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of Templates: time 0.02016/0.3778, allocations: 11.88 MB / 0.819 GB, free: 7.395 MB / 0.6387 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)