Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.667/1.667, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.885/1.885, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001563/0.001563, allocations: 70.05 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3219, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.003042/0.325, allocations: 1.183 MB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.3279, allocations: 2.163 MB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3281, allocations: 4 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.174e-05/0.3282, allocations: 19.69 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.3284, allocations: 87.19 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.3315, allocations: 1.388 MB / 0.7881 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.3331, allocations: 1.279 MB / 0.7894 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.3332, allocations: 20.73 kB / 0.7894 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006887/0.3339, allocations: 479.3 kB / 0.7898 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.3343, allocations: 351 kB / 0.7902 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.3345, allocations: 104 kB / 0.7903 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.3348, allocations: 120 kB / 0.7904 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.3348, allocations: 59.81 kB / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.3353, allocations: 391 kB / 0.7908 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008933/0.3362, allocations: 0.9587 MB / 0.7918 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3362, allocations: 0 / 0.7918 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.659e-06/0.3362, allocations: 3.984 kB / 0.7918 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3362, allocations: 3.938 kB / 0.7918 GB, free: 4.914 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.001307/0.3375, allocations: 1.179 MB / 0.7929 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3376, allocations: 8.031 kB / 0.7929 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.3378, allocations: 64.64 kB / 0.793 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.338, allocations: 228.3 kB / 0.7932 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.338, allocations: 36.38 kB / 0.7932 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.3382, allocations: 64.36 kB / 0.7933 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.3385, allocations: 210.9 kB / 0.7935 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3385, allocations: 4.188 kB / 0.7935 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3385, allocations: 11.92 kB / 0.7935 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3385, allocations: 0 / 0.7935 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3386, allocations: 71.78 kB / 0.7936 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.3395, allocations: 0.8483 MB / 0.7944 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3399, allocations: 327.3 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3401, allocations: 136.8 kB / 0.7949 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3401, allocations: 11.98 kB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006434/0.3407, allocations: 473.7 kB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 3.256e-06/0.3408, allocations: 4 kB / 0.7953 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009803/0.3418, allocations: 0.5614 MB / 0.7959 GB, free: 136 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/0.342, allocations: 439.1 kB / 0.7963 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.3422, allocations: 292.3 kB / 0.7966 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.3424, allocations: 65.7 kB / 0.7966 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3426, allocations: 161.3 kB / 0.7968 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.3427, allocations: 98.84 kB / 0.7969 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004662/0.3431, allocations: 278.1 kB / 0.7971 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3433, allocations: 350.8 kB / 0.7975 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/0.3441, allocations: 425.2 kB / 0.7979 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.3451, allocations: 0.6989 MB / 0.7986 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.3465, allocations: 1.199 MB / 0.7997 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3465, allocations: 0 / 0.7997 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002767/0.3493, allocations: 1.712 MB / 0.8014 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002748/0.3496, allocations: 489.4 kB / 0.8019 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.3496, allocations: 9.156 kB / 0.8019 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.3496, allocations: 15.94 kB / 0.8019 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.3497, allocations: 27.86 kB / 0.8019 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.562e-05/0.3497, allocations: 27.92 kB / 0.802 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/0.3522, allocations: 414.9 kB / 0.8023 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.3524, allocations: 103.9 kB / 0.8024 GB, free: 8.695 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.0004312/0.3528, allocations: 222.2 kB / 0.8027 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3529, allocations: 43.47 kB / 0.8027 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/0.353, allocations: 34.14 kB / 0.8027 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.353, allocations: 8 kB / 0.8027 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.353, allocations: 4 kB / 0.8027 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.3531, allocations: 7.984 kB / 0.8028 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.3535, allocations: 325.4 kB / 0.8031 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3535, allocations: 7.938 kB / 0.8031 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.3536, allocations: 27.92 kB / 0.8031 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.3536, allocations: 7.938 kB / 0.8031 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.3536, allocations: 15.98 kB / 0.8031 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.3536, allocations: 12 kB / 0.8031 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.3536, allocations: 7.984 kB / 0.8031 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.3543, allocations: 0.5235 MB / 0.8036 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.3544, allocations: 116.6 kB / 0.8038 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.3545, allocations: 15.98 kB / 0.8038 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3546, allocations: 23.86 kB / 0.8038 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3547, allocations: 55.88 kB / 0.8039 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.3547, allocations: 31.98 kB / 0.8039 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001764/0.3549, allocations: 191.1 kB / 0.8041 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3549, allocations: 0 / 0.8041 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006705/0.3556, allocations: 196 kB / 0.8043 GB, free: 6.711 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.0002402/0.3559, allocations: 135 kB / 0.8044 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.3579, allocations: 1.76 MB / 0.8061 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3579, allocations: 5.938 kB / 0.8061 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.3582, allocations: 184.5 kB / 0.8063 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.359, allocations: 128.1 kB / 0.8064 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.36, allocations: 0.6389 MB / 0.807 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3604, allocations: 0.78 MB / 0.8078 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00013/0.3605, allocations: 42.97 kB / 0.8078 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.3606, allocations: 35.44 kB / 0.8079 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.3606, allocations: 0 / 0.8079 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of Templates: time 0.02111/0.3817, allocations: 11.96 MB / 0.8195 GB, free: 6.93 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)