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.PulsePositiveStartTime.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.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.962/2.962, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.002357/0.002358, allocations: 186.8 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.536/2.536, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001094/0.001094, allocations: 82.97 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005084, allocations: 17.72 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002019/0.2347, allocations: 0.8298 MB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004689/0.2395, allocations: 1.889 MB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.2397, allocations: 3.938 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.2398, allocations: 11.86 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.2403, allocations: 99.73 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007957/0.2482, allocations: 1.275 MB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.2499, allocations: 0.5772 MB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2501, allocations: 24.73 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000919/0.251, allocations: 419.3 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.2517, allocations: 323.1 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.2521, allocations: 60 kB / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.2526, allocations: 75.92 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.2527, allocations: 55.81 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.253, allocations: 125.6 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.2544, allocations: 0.6625 MB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2545, allocations: 0 / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.657e-06/0.2545, allocations: 0 / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.2545, allocations: 0 / 0.9845 GB, free: 21.99 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.001725/0.2563, allocations: 1 MB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2563, allocations: 16.02 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005379/0.2569, allocations: 67.61 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.2572, allocations: 219.2 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.2573, allocations: 32 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004219/0.2577, allocations: 67.98 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.2583, allocations: 208.4 kB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2583, allocations: 3.938 kB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.2584, allocations: 11.98 kB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2584, allocations: 4 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.2587, allocations: 59.78 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.2605, allocations: 0.8522 MB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.2611, allocations: 331.2 kB / 0.9873 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2612, allocations: 3.938 kB / 0.9873 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.2623, allocations: 479 kB / 0.9877 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 5.08e-06/0.2624, allocations: 0 / 0.9877 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.00268/0.2651, allocations: 0.5501 MB / 0.9883 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001929/0.2653, allocations: 435.2 kB / 0.9887 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.2659, allocations: 292.4 kB / 0.9889 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004432/0.2663, allocations: 65.7 kB / 0.989 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.2667, allocations: 169.2 kB / 0.9892 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.2669, allocations: 90.94 kB / 0.9893 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.2672, allocations: 36 kB / 0.9893 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2673, allocations: 350.8 kB / 0.9896 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/0.2696, allocations: 429.2 kB / 0.99 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.2721, allocations: 0.695 MB / 0.9907 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/0.2746, allocations: 0.8255 MB / 0.9915 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.2747, allocations: 0 / 0.9915 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006865/0.2816, allocations: 1.709 MB / 0.9932 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003741/0.282, allocations: 481.5 kB / 0.9937 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.2821, allocations: 12 kB / 0.9937 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.814e-05/0.2821, allocations: 12 kB / 0.9937 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2823, allocations: 39.88 kB / 0.9937 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/0.2824, allocations: 19.94 kB / 0.9937 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007352/0.2897, allocations: 0.567 MB / 0.9943 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006485/0.2904, allocations: 99.86 kB / 0.9944 GB, free: 10.77 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.000687/0.2912, allocations: 225.5 kB / 0.9946 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.2914, allocations: 43.52 kB / 0.9946 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.2915, allocations: 42.14 kB / 0.9947 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.2916, allocations: 8 kB / 0.9947 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.2916, allocations: 4 kB / 0.9947 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.2916, allocations: 4 kB / 0.9947 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.2923, allocations: 337.3 kB / 0.995 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.2923, allocations: 4 kB / 0.995 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.064e-05/0.2924, allocations: 19.92 kB / 0.995 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.2925, allocations: 4 kB / 0.995 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.2925, allocations: 27.98 kB / 0.9951 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.2926, allocations: 7.938 kB / 0.9951 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.2926, allocations: 4 kB / 0.9951 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.294, allocations: 0.6838 MB / 0.9957 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2942, allocations: 104.7 kB / 0.9958 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.2943, allocations: 15.98 kB / 0.9959 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.2946, allocations: 15.98 kB / 0.9959 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.2948, allocations: 59.83 kB / 0.9959 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/0.2949, allocations: 35.98 kB / 0.996 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003084/0.2952, allocations: 191 kB / 0.9962 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.11e-07/0.2952, allocations: 0 / 0.9962 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002845/0.2981, allocations: 192 kB / 0.9963 GB, free: 8.531 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.0003094/0.2985, allocations: 139.1 kB / 0.9965 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.3023, allocations: 1.754 MB / 0.9982 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.3023, allocations: 0 / 0.9982 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.3028, allocations: 179.7 kB / 0.9984 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.304, allocations: 109.3 kB / 0.9985 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.3062, allocations: 0.68 MB / 0.9991 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3066, allocations: 0.7917 MB / 0.9999 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003507/0.307, 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.0001363/0.3071, allocations: 27.44 kB / 1 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of SimCode: time 1.443e-06/0.3072, allocations: 0 / 1 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of Templates: time 0.03069/0.3379, allocations: 10.86 MB / 1.011 GB, free: 9.797 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)