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 1.732/1.732, allocations: 287.5 MB / 302.6 MB, free: 8.195 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.001202/0.001203, allocations: 181.2 kB / 371.2 MB, free: 10.76 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.998/1.998, allocations: 205.4 MB / 0.6299 GB, free: 10.44 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.001051/0.001051, allocations: 91.31 kB / 0.7432 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006477/0.0006478, allocations: 16.94 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2291, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001011/0.2301, allocations: 0.8481 MB / 0.9795 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2323, allocations: 2.139 MB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.2325, allocations: 0 / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.2325, allocations: 11.81 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.2327, allocations: 79.39 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.2356, allocations: 1.277 MB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009479/0.2365, allocations: 0.9316 MB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.014e-05/0.2366, allocations: 20.75 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005653/0.2372, allocations: 427.2 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.2376, allocations: 319.1 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.2379, allocations: 60 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.2382, allocations: 75.98 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.2382, allocations: 51.77 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.2385, allocations: 125.6 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.2391, allocations: 0.6703 MB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2391, allocations: 4 kB / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2391, allocations: 0 / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.2391, allocations: 0 / 0.9856 GB, free: 21.13 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.0008879/0.24, allocations: 0.9886 MB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2401, allocations: 8.031 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.2403, allocations: 72.55 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2404, allocations: 216.5 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.2405, allocations: 40.36 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.2407, allocations: 68.3 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.2409, allocations: 208.8 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2409, allocations: 4.188 kB / 0.9871 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.241, allocations: 19.86 kB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.241, allocations: 3.984 kB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.2411, allocations: 63.78 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.2418, allocations: 0.8492 MB / 0.988 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.242, allocations: 323.2 kB / 0.9883 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2421, allocations: 140.9 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.2421, allocations: 4 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/0.2425, allocations: 474.6 kB / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.804e-06/0.2425, allocations: 0 / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.0008559/0.2434, allocations: 0.5576 MB / 0.9895 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.2435, allocations: 447.1 kB / 0.9899 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2437, allocations: 292.3 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.2438, allocations: 65.7 kB / 0.9902 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.2439, allocations: 161.3 kB / 0.9904 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.244, allocations: 98.83 kB / 0.9905 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.2441, allocations: 36 kB / 0.9905 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.2442, allocations: 350.8 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.2449, allocations: 429.3 kB / 0.9913 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007776/0.2457, allocations: 0.6989 MB / 0.9919 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009401/0.2466, allocations: 1.187 MB / 0.9931 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.2466, allocations: 4 kB / 0.9931 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002187/0.2488, allocations: 1.717 MB / 0.9948 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.249, allocations: 485.4 kB / 0.9952 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.249, allocations: 11.98 kB / 0.9953 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.2491, allocations: 12 kB / 0.9953 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.2491, allocations: 31.86 kB / 0.9953 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.2492, allocations: 19.94 kB / 0.9953 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.2514, allocations: 0.5647 MB / 0.9959 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.2516, allocations: 95.92 kB / 0.996 GB, free: 9.215 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.0003/0.2519, allocations: 221.5 kB / 0.9962 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.252, allocations: 51.45 kB / 0.9962 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.2521, allocations: 38.14 kB / 0.9963 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.2521, allocations: 8 kB / 0.9963 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.2521, allocations: 4 kB / 0.9963 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2521, allocations: 11.98 kB / 0.9963 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.2525, allocations: 329.3 kB / 0.9966 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.2525, allocations: 4 kB / 0.9966 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.2526, allocations: 19.92 kB / 0.9966 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2526, allocations: 11.94 kB / 0.9966 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.2526, allocations: 15.98 kB / 0.9966 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.2526, allocations: 7.938 kB / 0.9967 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.2526, allocations: 4 kB / 0.9967 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.2532, allocations: 0.5197 MB / 0.9972 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.2533, allocations: 112.6 kB / 0.9973 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.2534, allocations: 19.98 kB / 0.9973 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2535, allocations: 15.92 kB / 0.9973 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2536, allocations: 67.81 kB / 0.9974 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.2536, allocations: 27.98 kB / 0.9974 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001613/0.2538, allocations: 183.1 kB / 0.9976 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2538, allocations: 0 / 0.9976 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007145/0.2545, allocations: 200 kB / 0.9978 GB, free: 7.223 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.0002714/0.2548, allocations: 135 kB / 0.9979 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.2568, allocations: 1.742 MB / 0.9996 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2568, allocations: 0.875 kB / 0.9996 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.2571, allocations: 183.7 kB / 0.9998 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.258, allocations: 122.7 kB / 0.9999 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2592, allocations: 0.6749 MB / 1.001 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2595, allocations: 0.7839 MB / 1.001 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.2597, allocations: 46.95 kB / 1.001 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.2597, allocations: 35.44 kB / 1.001 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.2597, allocations: 0 / 1.001 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.01912/0.2789, allocations: 10.97 MB / 1.012 GB, free: 8.375 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)