Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.796/2.796, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001612/0.001612, allocations: 183.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.437/2.437, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001105/0.001105, allocations: 100.5 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.0005318, allocations: 13.83 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2277, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002048/0.2298, allocations: 0.8336 MB / 0.979 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004802/0.2346, allocations: 1.897 MB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.235, allocations: 4 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.2351, allocations: 11.86 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.2355, allocations: 91.73 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008067/0.2436, allocations: 1.275 MB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.2454, allocations: 0.5772 MB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2456, allocations: 24.73 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.2466, allocations: 415.3 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007503/0.2474, allocations: 323.1 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.2479, allocations: 67.88 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.2484, allocations: 71.98 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.2485, allocations: 51.81 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.2488, allocations: 125.6 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2502, allocations: 0.6664 MB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2502, allocations: 0 / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.326e-06/0.2503, allocations: 0 / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.2503, allocations: 0 / 0.9845 GB, free: 21.97 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.001657/0.252, allocations: 1 MB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.2521, allocations: 8.031 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005315/0.2526, allocations: 67.61 kB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.2529, allocations: 219.2 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.253, allocations: 35.98 kB / 0.9858 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/0.2535, allocations: 67.98 kB / 0.9858 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.254, allocations: 202.4 kB / 0.986 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.254, allocations: 7.938 kB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.2541, allocations: 7.984 kB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2541, allocations: 4 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.2544, allocations: 67.78 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2563, allocations: 0.8444 MB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.2569, allocations: 331.2 kB / 0.9873 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2569, allocations: 4.062 kB / 0.9873 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.2581, allocations: 471 kB / 0.9877 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 5.341e-06/0.2582, allocations: 0 / 0.9877 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.002583/0.2608, allocations: 0.5579 MB / 0.9883 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.261, allocations: 447.2 kB / 0.9887 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.2615, allocations: 284.4 kB / 0.989 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004878/0.2621, allocations: 69.7 kB / 0.989 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.2624, allocations: 161.2 kB / 0.9892 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.2626, allocations: 90.94 kB / 0.9893 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.2629, allocations: 36 kB / 0.9893 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2631, allocations: 354.8 kB / 0.9896 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/0.2654, allocations: 421.2 kB / 0.99 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.2681, allocations: 0.7028 MB / 0.9907 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.2707, allocations: 0.8216 MB / 0.9915 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/0.2708, allocations: 4 kB / 0.9915 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.007282/0.2781, allocations: 1.713 MB / 0.9932 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004109/0.2785, allocations: 481.5 kB / 0.9937 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.2786, allocations: 8 kB / 0.9937 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.668e-05/0.2787, allocations: 19.98 kB / 0.9937 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.2788, allocations: 27.86 kB / 0.9937 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.05e-05/0.2789, allocations: 15.94 kB / 0.9937 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007396/0.2863, allocations: 0.57 MB / 0.9943 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006633/0.287, allocations: 103.9 kB / 0.9944 GB, free: 10.75 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.0006936/0.2877, allocations: 229.5 kB / 0.9946 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.2879, allocations: 43.52 kB / 0.9946 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.2881, allocations: 34.14 kB / 0.9947 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.2881, allocations: 8 kB / 0.9947 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.2882, allocations: 4 kB / 0.9947 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.2882, allocations: 7.984 kB / 0.9947 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.2889, allocations: 337.3 kB / 0.995 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.289, allocations: 4 kB / 0.995 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.2891, allocations: 23.92 kB / 0.995 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/0.2891, allocations: 4 kB / 0.995 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.2892, allocations: 19.98 kB / 0.9951 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/0.2892, allocations: 7.938 kB / 0.9951 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.2892, allocations: 4 kB / 0.9951 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2907, allocations: 0.6799 MB / 0.9957 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2909, allocations: 108.7 kB / 0.9958 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.291, allocations: 15.98 kB / 0.9959 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.2914, allocations: 11.98 kB / 0.9959 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.2916, allocations: 67.83 kB / 0.9959 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.2917, allocations: 27.98 kB / 0.996 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003206/0.292, allocations: 183.1 kB / 0.9961 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.01e-07/0.292, allocations: 0 / 0.9961 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001799/0.2938, allocations: 200 kB / 0.9963 GB, free: 8.527 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.0003206/0.2942, allocations: 139.1 kB / 0.9965 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004576/0.2988, allocations: 1.754 MB / 0.9982 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.2989, allocations: 0 / 0.9982 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.2996, allocations: 179.7 kB / 0.9983 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.3014, allocations: 111.1 kB / 0.9985 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3035, allocations: 0.6839 MB / 0.9991 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3039, allocations: 0.7839 MB / 0.9999 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.3043, allocations: 46.95 kB / 0.9999 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.3044, allocations: 39.44 kB / 1 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.513e-06/0.3045, allocations: 0 / 1 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.04027/0.3447, allocations: 10.85 MB / 1.011 GB, free: 9.789 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)