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.001221/0.001221, allocations: 104.8 kB / 16.27 MB, free: 6.055 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.001277/0.001277, allocations: 191.9 kB / 17.2 MB, free: 5.691 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.457/1.457, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.897/1.897, allocations: 292.3 MB / 0.5495 GB, free: 17.38 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.00164/0.00164, allocations: 63.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2608, allocations: 114.5 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002865/0.2637, allocations: 1.182 MB / 0.7852 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.2668, allocations: 2.174 MB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.2671, allocations: 0 / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.284e-05/0.2672, allocations: 23.69 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.2675, allocations: 83.2 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.5317/0.7993, allocations: 1.369 MB / 0.7888 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.8009, allocations: 1.289 MB / 0.79 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.8011, allocations: 23.14 kB / 0.79 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005514/0.8016, allocations: 475.8 kB / 0.7905 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.802, allocations: 349.8 kB / 0.7908 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.8021, allocations: 104.6 kB / 0.7909 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.8024, allocations: 120.1 kB / 0.791 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.8024, allocations: 53.84 kB / 0.7911 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004018/0.8028, allocations: 392.6 kB / 0.7915 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008219/0.8037, allocations: 0.9623 MB / 0.7924 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.8037, allocations: 3.438 kB / 0.7924 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8037, allocations: 0.5625 kB / 0.7924 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.8037, allocations: 0.625 kB / 0.7924 GB, free: 45.85 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.001172/0.8049, allocations: 1.17 MB / 0.7936 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8049, allocations: 10.28 kB / 0.7936 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.8052, allocations: 66.88 kB / 0.7936 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.8053, allocations: 218.6 kB / 0.7938 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.8054, allocations: 37.05 kB / 0.7939 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.8056, allocations: 65.2 kB / 0.7939 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.8059, allocations: 220.2 kB / 0.7941 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.8059, allocations: 2.062 kB / 0.7942 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.8059, allocations: 11.06 kB / 0.7942 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8059, allocations: 3.469 kB / 0.7942 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.806, allocations: 70.73 kB / 0.7942 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.8069, allocations: 0.8487 MB / 0.7951 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.8072, allocations: 324.5 kB / 0.7954 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.8074, allocations: 139 kB / 0.7955 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.8074, allocations: 6.672 kB / 0.7955 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000637/0.808, allocations: 466 kB / 0.796 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/0.808, allocations: 0 / 0.796 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.00108/0.8091, allocations: 0.5624 MB / 0.7965 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.8093, allocations: 442.4 kB / 0.7969 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.8096, allocations: 300.2 kB / 0.7972 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.8097, allocations: 69.16 kB / 0.7973 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.8099, allocations: 160.4 kB / 0.7974 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.8099, allocations: 94.36 kB / 0.7975 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/0.8104, allocations: 275.6 kB / 0.7978 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8105, allocations: 348.1 kB / 0.7981 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.8114, allocations: 422.3 kB / 0.7985 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009528/0.8123, allocations: 0.7066 MB / 0.7992 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.8136, allocations: 1.2 MB / 0.8004 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.8136, allocations: 1.906 kB / 0.8004 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003024/0.8166, allocations: 1.72 MB / 0.8021 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.817, allocations: 484.9 kB / 0.8025 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/0.8171, allocations: 11.33 kB / 0.8025 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.718e-05/0.8171, allocations: 13.38 kB / 0.8025 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.8172, allocations: 28.06 kB / 0.8026 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.902e-05/0.8173, allocations: 17.67 kB / 0.8026 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.8201, allocations: 423.1 kB / 0.803 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.8203, allocations: 104.5 kB / 0.8031 GB, free: 39.75 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.000402/0.8207, allocations: 214.6 kB / 0.8033 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.8209, allocations: 46.2 kB / 0.8033 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.821, allocations: 36.66 kB / 0.8034 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.821, allocations: 13.95 kB / 0.8034 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.821, allocations: 3.5 kB / 0.8034 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.821, allocations: 8.109 kB / 0.8034 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.8215, allocations: 327.5 kB / 0.8037 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8215, allocations: 3 kB / 0.8037 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.8216, allocations: 22.98 kB / 0.8037 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.8216, allocations: 8.625 kB / 0.8037 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.8216, allocations: 19.36 kB / 0.8038 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.8216, allocations: 7.797 kB / 0.8038 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.8216, allocations: 8.344 kB / 0.8038 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.8224, allocations: 0.5123 MB / 0.8043 GB, free: 39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.8225, allocations: 123.4 kB / 0.8044 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.8226, allocations: 16.28 kB / 0.8044 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.8227, allocations: 12.03 kB / 0.8044 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.8228, allocations: 66.41 kB / 0.8045 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.8229, allocations: 31.34 kB / 0.8045 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002073/0.8231, allocations: 189.1 kB / 0.8047 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8231, allocations: 3.938 kB / 0.8047 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008096/0.8239, allocations: 195.3 kB / 0.8049 GB, free: 38.71 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.0002387/0.8242, allocations: 137.2 kB / 0.805 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002332/0.8265, allocations: 1.763 MB / 0.8067 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8265, allocations: 4.125 kB / 0.8067 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/0.8273, allocations: 360.2 kB / 0.8071 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/0.8281, allocations: 125.5 kB / 0.8072 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.8293, allocations: 0.6735 MB / 0.8079 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.8297, allocations: 0.7748 MB / 0.8086 GB, free: 36.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.8298, allocations: 43.25 kB / 0.8087 GB, free: 36.04 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/0.8298, allocations: 0 / 0.8087 GB, free: 36.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.01841/0.8482, allocations: 7.574 MB / 0.8161 GB, free: 35.39 MB / 0.6544 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)