Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.868/1.868, allocations: 288.4 MB / 303.4 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001614, allocations: 171 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.6307 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007356/0.0007358, allocations: 92.89 kB / 0.7441 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004614, allocations: 21.05 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.274, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001206/0.2752, allocations: 0.8453 MB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2777, allocations: 2.139 MB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.2779, allocations: 4 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.195e-05/0.278, allocations: 7.875 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.2783, allocations: 71.39 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.2815, allocations: 1.288 MB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.2826, allocations: 0.9277 MB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2828, allocations: 24.73 kB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.2838, allocations: 427.2 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.2845, allocations: 327.1 kB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004355/0.2849, allocations: 60 kB / 0.9856 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.2854, allocations: 64 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.2855, allocations: 55.81 kB / 0.9857 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.2859, allocations: 121.6 kB / 0.9858 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007055/0.2866, allocations: 0.6742 MB / 0.9865 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2866, allocations: 0 / 0.9865 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2866, allocations: 0 / 0.9865 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.2866, allocations: 0 / 0.9865 GB, free: 20.64 MB / 0.6198 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.001278/0.2879, allocations: 0.9999 MB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.288, allocations: 8.031 kB / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.2883, allocations: 71.61 kB / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.2885, allocations: 211.2 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.2886, allocations: 36 kB / 0.9878 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.2889, allocations: 67.98 kB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.2891, allocations: 210.3 kB / 0.988 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.2892, allocations: 0 / 0.988 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.2892, allocations: 11.98 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2892, allocations: 0 / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2893, allocations: 67.78 kB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.2902, allocations: 0.8521 MB / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.2905, allocations: 331.3 kB / 0.9892 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.2906, allocations: 136.8 kB / 0.9894 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2906, allocations: 3.984 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.2911, allocations: 466.8 kB / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.513e-06/0.2911, allocations: 0 / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.0009278/0.2921, allocations: 0.5605 MB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.2922, allocations: 431.2 kB / 0.9908 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2924, allocations: 288.4 kB / 0.9911 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.2926, allocations: 65.7 kB / 0.9911 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.2928, allocations: 173.2 kB / 0.9913 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.2929, allocations: 94.88 kB / 0.9914 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.293, allocations: 39.94 kB / 0.9914 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2931, allocations: 358.7 kB / 0.9918 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/0.2939, allocations: 417.3 kB / 0.9922 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.2947, allocations: 0.695 MB / 0.9928 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.2955, allocations: 0.8268 MB / 0.9936 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2955, allocations: 4 kB / 0.9936 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002331/0.2978, allocations: 1.713 MB / 0.9953 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.2981, allocations: 487.3 kB / 0.9958 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.2981, allocations: 8 kB / 0.9958 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/0.2981, allocations: 16 kB / 0.9958 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.2982, allocations: 39.89 kB / 0.9958 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.2982, allocations: 15.94 kB / 0.9959 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/0.3009, allocations: 0.5712 MB / 0.9964 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.301, allocations: 99.91 kB / 0.9965 GB, free: 9.223 MB / 0.6198 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 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003838/0.3014, allocations: 221.5 kB / 0.9967 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3016, allocations: 43.52 kB / 0.9968 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3017, allocations: 42.14 kB / 0.9968 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.3017, allocations: 8 kB / 0.9968 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.3017, allocations: 4 kB / 0.9968 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3017, allocations: 7.984 kB / 0.9968 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.3021, allocations: 333.3 kB / 0.9971 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3022, allocations: 4 kB / 0.9971 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.3022, allocations: 23.91 kB / 0.9972 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3022, allocations: 4 kB / 0.9972 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.3023, allocations: 23.98 kB / 0.9972 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3023, allocations: 7.938 kB / 0.9972 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3023, allocations: 4 kB / 0.9972 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.3029, allocations: 0.5196 MB / 0.9977 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.303, allocations: 112.7 kB / 0.9978 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.303, allocations: 19.98 kB / 0.9978 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3031, allocations: 11.98 kB / 0.9978 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.3032, allocations: 59.83 kB / 0.9979 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.3033, allocations: 27.98 kB / 0.9979 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001354/0.3034, allocations: 195 kB / 0.9981 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.3034, allocations: 0 / 0.9981 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006956/0.3041, allocations: 200 kB / 0.9983 GB, free: 7.23 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/0.3044, allocations: 131.1 kB / 0.9984 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.306, allocations: 1.75 MB / 1 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3061, allocations: 0 / 1 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3063, allocations: 184.8 kB / 1 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.307, allocations: 127 kB / 1 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3081, allocations: 0.6826 MB / 1.001 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3084, allocations: 0.7839 MB / 1.002 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.3085, allocations: 42.97 kB / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.3086, allocations: 35.44 kB / 1.002 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3086, allocations: 0 / 1.002 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of Templates: time 0.02022/0.3288, allocations: 10.88 MB / 1.013 GB, free: 8.5 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)