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 1.807/1.807, allocations: 287.5 MB / 302.6 MB, free: 8.262 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.001057/0.001057, allocations: 188.6 kB / 371.2 MB, free: 10.83 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.801/1.801, allocations: 205.4 MB / 0.6299 GB, free: 10.59 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.0009457/0.0009457, allocations: 102.3 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004056, allocations: 11.81 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.0009756/0.2008, allocations: 0.8442 MB / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.2028, allocations: 2.135 MB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.203, allocations: 0 / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.203, allocations: 11.81 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.2032, allocations: 79.39 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.2057, allocations: 1.274 MB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007534/0.2065, allocations: 0.9316 MB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.2065, allocations: 20.75 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.207, allocations: 427.2 kB / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.2074, allocations: 319.1 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.2076, allocations: 63.92 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.2078, allocations: 79.98 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.2078, allocations: 47.77 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.2079, allocations: 125.6 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.2084, allocations: 0.6703 MB / 0.9856 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2084, allocations: 4 kB / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2084, allocations: 0 / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2084, allocations: 0 / 0.9856 GB, free: 21.16 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.000656/0.209, allocations: 0.9886 MB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.2091, allocations: 8.031 kB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.2092, allocations: 68.56 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.82e-05/0.2093, allocations: 220.5 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.2094, allocations: 40.36 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.2095, allocations: 68.36 kB / 0.9869 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2097, allocations: 210.9 kB / 0.9871 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2097, allocations: 192 / 0.9871 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.2097, allocations: 11.92 kB / 0.9871 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.2098, allocations: 3.938 kB / 0.9871 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.2098, allocations: 67.78 kB / 0.9872 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.2104, allocations: 0.8531 MB / 0.988 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.2106, allocations: 327.1 kB / 0.9883 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2107, allocations: 136.9 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.2107, allocations: 8 kB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.2111, allocations: 474.6 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.914e-06/0.2111, allocations: 0 / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.0007401/0.2119, allocations: 0.558 MB / 0.9895 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.212, allocations: 439.2 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2122, allocations: 296.3 kB / 0.9902 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.2123, allocations: 65.7 kB / 0.9902 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.2124, allocations: 157.3 kB / 0.9904 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.2124, allocations: 98.83 kB / 0.9905 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.2125, allocations: 39.94 kB / 0.9905 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.2126, allocations: 354.8 kB / 0.9909 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/0.2133, allocations: 425.3 kB / 0.9913 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007683/0.2141, allocations: 0.6989 MB / 0.9919 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.215, allocations: 1.183 MB / 0.9931 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.215, allocations: 8 kB / 0.9931 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002062/0.217, allocations: 1.717 MB / 0.9948 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.2172, allocations: 481.4 kB / 0.9952 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2172, allocations: 11.98 kB / 0.9953 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.2172, allocations: 16 kB / 0.9953 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.2173, allocations: 31.86 kB / 0.9953 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.2173, allocations: 15.94 kB / 0.9953 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.2196, allocations: 0.5669 MB / 0.9959 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.2198, allocations: 99.92 kB / 0.996 GB, free: 9.246 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.0002391/0.22, allocations: 221.5 kB / 0.9962 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.2201, allocations: 51.45 kB / 0.9962 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.2202, allocations: 42.12 kB / 0.9963 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2202, allocations: 12 kB / 0.9963 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.2202, allocations: 4 kB / 0.9963 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2202, allocations: 7.984 kB / 0.9963 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.2205, allocations: 329.3 kB / 0.9966 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2205, allocations: 4 kB / 0.9966 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.2205, allocations: 19.92 kB / 0.9966 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.2205, allocations: 11.94 kB / 0.9966 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2205, allocations: 15.98 kB / 0.9967 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.2205, allocations: 7.938 kB / 0.9967 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2206, allocations: 4 kB / 0.9967 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.221, allocations: 0.5119 MB / 0.9972 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.2211, allocations: 116.6 kB / 0.9973 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.2211, allocations: 19.98 kB / 0.9973 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.2212, allocations: 15.94 kB / 0.9973 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.2213, allocations: 67.8 kB / 0.9974 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.2213, allocations: 27.98 kB / 0.9974 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001063/0.2214, allocations: 183.1 kB / 0.9976 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.11e-07/0.2214, allocations: 0 / 0.9976 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005364/0.222, allocations: 199.9 kB / 0.9978 GB, free: 7.254 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.0001491/0.2221, allocations: 139.1 kB / 0.9979 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.2236, allocations: 1.739 MB / 0.9996 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2237, allocations: 4.062 kB / 0.9996 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.2239, allocations: 184.5 kB / 0.9998 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007154/0.2246, allocations: 116.9 kB / 0.9999 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.2254, allocations: 0.6749 MB / 1.001 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.2256, allocations: 0.7839 MB / 1.001 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.2257, allocations: 39.55 kB / 1.001 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.2258, allocations: 31.42 kB / 1.001 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2258, allocations: 8 kB / 1.001 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of Templates: time 0.01542/0.2412, allocations: 10.99 MB / 1.012 GB, free: 8.41 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)