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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001325/0.001325, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.54/1.54, allocations: 205.1 MB / 222 MB, free: 4.77 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.754/1.754, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001456/0.001456, allocations: 69.02 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2862, allocations: 114.5 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.003195/0.2895, allocations: 1.234 MB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004058/0.2936, allocations: 2.35 MB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.2939, allocations: 4 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.734e-05/0.294, allocations: 11.81 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.2944, allocations: 71.39 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.2978, allocations: 1.313 MB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.299, allocations: 1.049 MB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.2991, allocations: 24.73 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004519/0.2996, allocations: 423.2 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.2999, allocations: 334.9 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.3001, allocations: 60 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.3003, allocations: 75.98 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.3003, allocations: 55.81 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.3007, allocations: 343 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.3016, allocations: 0.9313 MB / 0.7908 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3016, allocations: 0 / 0.7908 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3016, allocations: 4 kB / 0.7908 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3016, allocations: 0 / 0.7908 GB, free: 5.719 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.00137/0.303, allocations: 1.172 MB / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.303, allocations: 12.03 kB / 0.7919 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.3032, allocations: 64.64 kB / 0.792 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3034, allocations: 220.3 kB / 0.7922 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.3035, allocations: 36.36 kB / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3036, allocations: 72.36 kB / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.304, allocations: 214.2 kB / 0.7925 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.304, allocations: 4.125 kB / 0.7925 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.304, allocations: 11.92 kB / 0.7925 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.304, allocations: 4 kB / 0.7925 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3041, allocations: 67.78 kB / 0.7926 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.305, allocations: 0.8405 MB / 0.7934 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.3053, allocations: 327.1 kB / 0.7937 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.3055, allocations: 144.9 kB / 0.7938 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3055, allocations: 7.984 kB / 0.7939 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005878/0.3061, allocations: 462.6 kB / 0.7943 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.784e-06/0.3061, allocations: 0 / 0.7943 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.001049/0.3072, allocations: 0.5646 MB / 0.7948 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.3074, allocations: 443.1 kB / 0.7953 GB, free: 432 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.3077, allocations: 296.3 kB / 0.7955 GB, free: 128 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.3078, allocations: 65.7 kB / 0.7956 GB, free: 56 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3081, allocations: 157.3 kB / 0.7958 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/0.3082, allocations: 98.83 kB / 0.7959 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.3086, allocations: 270.1 kB / 0.7961 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3088, allocations: 358.8 kB / 0.7965 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008427/0.3096, allocations: 417.3 kB / 0.7969 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.3107, allocations: 0.7028 MB / 0.7975 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.312, allocations: 1.192 MB / 0.7987 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.312, allocations: 4 kB / 0.7987 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002632/0.3146, allocations: 1.721 MB / 0.8004 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003096/0.315, allocations: 485.4 kB / 0.8009 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.315, allocations: 12 kB / 0.8009 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.315, allocations: 12 kB / 0.8009 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.3151, allocations: 31.86 kB / 0.8009 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/0.3151, allocations: 23.86 kB / 0.8009 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.3174, allocations: 418.9 kB / 0.8013 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.3176, allocations: 95.92 kB / 0.8014 GB, free: 9.523 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.0003415/0.318, allocations: 221.6 kB / 0.8016 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.3181, allocations: 51.41 kB / 0.8017 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.3181, allocations: 38.14 kB / 0.8017 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.3181, allocations: 8 kB / 0.8017 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.3182, allocations: 8 kB / 0.8017 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3182, allocations: 7.984 kB / 0.8017 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.3186, allocations: 325.4 kB / 0.802 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3186, allocations: 4 kB / 0.8021 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.3186, allocations: 19.92 kB / 0.8021 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.3186, allocations: 11.94 kB / 0.8021 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3187, allocations: 19.92 kB / 0.8021 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.3187, allocations: 15.94 kB / 0.8021 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3187, allocations: 4 kB / 0.8021 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.3193, allocations: 0.5235 MB / 0.8026 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.3194, allocations: 112.6 kB / 0.8027 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.3194, allocations: 19.98 kB / 0.8028 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3196, allocations: 11.98 kB / 0.8028 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.3197, allocations: 67.81 kB / 0.8028 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.3197, allocations: 27.98 kB / 0.8029 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001535/0.3199, allocations: 187.1 kB / 0.803 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3199, allocations: 0 / 0.803 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006159/0.3205, allocations: 200 kB / 0.8032 GB, free: 7.531 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.0002072/0.3207, allocations: 139 kB / 0.8034 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.3226, allocations: 1.747 MB / 0.8051 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3227, allocations: 0 / 0.8051 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.3229, allocations: 183.9 kB / 0.8052 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.3236, allocations: 114.4 kB / 0.8054 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.3246, allocations: 0.7042 MB / 0.806 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.325, allocations: 0.7839 MB / 0.8068 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000108/0.3251, allocations: 42.92 kB / 0.8068 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.3252, allocations: 39.42 kB / 0.8069 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.3252, allocations: 0 / 0.8069 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.01861/0.3438, allocations: 11.36 MB / 0.818 GB, free: 8.289 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)