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.001141/0.001141, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001999/0.001999, allocations: 190.7 kB / 16.25 MB, free: 6.637 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.746/1.746, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.949/1.949, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001473/0.001473, allocations: 67.61 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2657, allocations: 114.6 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002531/0.2683, allocations: 1.23 MB / 0.7841 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.2711, allocations: 2.174 MB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.885e-05/0.2713, allocations: 4 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.522e-05/0.2713, allocations: 15.8 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.2715, allocations: 67.41 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.2746, allocations: 1.308 MB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.2758, allocations: 1.287 MB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.2759, allocations: 20.75 kB / 0.7888 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/0.2764, allocations: 483.2 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.2767, allocations: 351 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.2768, allocations: 104 kB / 0.7897 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.2771, allocations: 120 kB / 0.7898 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.2771, allocations: 55.83 kB / 0.7899 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.2775, allocations: 395 kB / 0.7903 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.2784, allocations: 0.9665 MB / 0.7912 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2784, allocations: 4 kB / 0.7912 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2784, allocations: 0 / 0.7912 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2784, allocations: 0 / 0.7912 GB, free: 5.324 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.001315/0.2797, allocations: 1.176 MB / 0.7924 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2798, allocations: 8.031 kB / 0.7924 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.28, allocations: 68.58 kB / 0.7924 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.2801, allocations: 224.4 kB / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.2802, allocations: 36.31 kB / 0.7927 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.2804, allocations: 64.36 kB / 0.7928 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.2806, allocations: 226 kB / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2807, allocations: 192 / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.2807, allocations: 11.92 kB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2807, allocations: 0 / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.2808, allocations: 67.78 kB / 0.793 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008434/0.2817, allocations: 0.8483 MB / 0.7939 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.2819, allocations: 319.3 kB / 0.7942 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.2821, allocations: 140.8 kB / 0.7943 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2821, allocations: 11.98 kB / 0.7943 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006276/0.2828, allocations: 470.6 kB / 0.7948 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.754e-06/0.2828, allocations: 0 / 0.7948 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009689/0.2838, allocations: 0.5541 MB / 0.7953 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/0.284, allocations: 447.1 kB / 0.7957 GB, free: 24 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.2843, allocations: 300.2 kB / 0.796 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.2844, allocations: 69.69 kB / 0.7961 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.2847, allocations: 157.3 kB / 0.7962 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.2847, allocations: 94.84 kB / 0.7963 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/0.2852, allocations: 278 kB / 0.7966 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2854, allocations: 346.8 kB / 0.7969 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007875/0.2862, allocations: 421.3 kB / 0.7973 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.2872, allocations: 0.7067 MB / 0.798 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.2885, allocations: 1.191 MB / 0.7992 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.2885, allocations: 4 kB / 0.7992 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002833/0.2914, allocations: 1.721 MB / 0.8009 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.2917, allocations: 485.4 kB / 0.8013 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.2917, allocations: 8 kB / 0.8013 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.2918, allocations: 16 kB / 0.8014 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.2919, allocations: 31.86 kB / 0.8014 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.2919, allocations: 19.92 kB / 0.8014 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.2942, allocations: 418.9 kB / 0.8018 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.2944, allocations: 99.91 kB / 0.8019 GB, free: 9.117 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.0003687/0.2948, allocations: 218.2 kB / 0.8021 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.2949, allocations: 47.41 kB / 0.8022 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.2949, allocations: 34.14 kB / 0.8022 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.295, allocations: 15.98 kB / 0.8022 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.295, allocations: 8 kB / 0.8022 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.295, allocations: 7.984 kB / 0.8022 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.2954, allocations: 325.4 kB / 0.8025 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2954, allocations: 4 kB / 0.8025 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.2954, allocations: 19.92 kB / 0.8026 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.2954, allocations: 7.938 kB / 0.8026 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.2955, allocations: 23.98 kB / 0.8026 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.2955, allocations: 7.984 kB / 0.8026 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2955, allocations: 7.938 kB / 0.8026 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006237/0.2961, allocations: 0.5199 MB / 0.8031 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.761e-05/0.2962, allocations: 112.6 kB / 0.8032 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.2963, allocations: 15.98 kB / 0.8032 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2964, allocations: 23.92 kB / 0.8033 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.2965, allocations: 59.88 kB / 0.8033 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.2966, allocations: 31.92 kB / 0.8033 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000175/0.2967, allocations: 187.1 kB / 0.8035 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2967, allocations: 0 / 0.8035 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000656/0.2974, allocations: 203.9 kB / 0.8037 GB, free: 7.129 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.0002342/0.2976, allocations: 135.1 kB / 0.8038 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.2997, allocations: 1.766 MB / 0.8056 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2997, allocations: 0 / 0.8056 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.3, allocations: 189 kB / 0.8057 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.3007, allocations: 124.8 kB / 0.8059 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3017, allocations: 0.7052 MB / 0.8066 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3021, allocations: 0.7761 MB / 0.8073 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.3022, allocations: 42.97 kB / 0.8074 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.3022, allocations: 35.44 kB / 0.8074 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.3023, allocations: 0 / 0.8074 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of Templates: time 0.01987/0.3221, allocations: 11.89 MB / 0.819 GB, free: 7.352 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)