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.744/1.744, allocations: 288.4 MB / 303.7 MB, free: 8.16 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.001104/0.001104, allocations: 182.7 kB / 372.3 MB, free: 10.11 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.967/1.967, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0009002/0.0009005, allocations: 97.2 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 21.06 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2067, allocations: 115.3 MB / 0.9802 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.0009814/0.2077, allocations: 0.8492 MB / 0.981 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.2096, allocations: 2.139 MB / 0.9831 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.244e-05/0.2097, allocations: 4 kB / 0.9831 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.2098, allocations: 11.81 kB / 0.9831 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.21, allocations: 75.39 kB / 0.9832 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.2124, allocations: 1.28 MB / 0.9844 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.2131, allocations: 0.9356 MB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.996e-05/0.2131, allocations: 24.67 kB / 0.9854 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.2135, allocations: 423.2 kB / 0.9858 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.2137, allocations: 319.1 kB / 0.9861 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.2138, allocations: 64 kB / 0.9861 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.214, allocations: 71.92 kB / 0.9862 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.2141, allocations: 55.81 kB / 0.9862 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.2143, allocations: 368.8 kB / 0.9866 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.2147, allocations: 0.6664 MB / 0.9872 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2147, allocations: 0 / 0.9872 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2147, allocations: 0 / 0.9872 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5e-06/0.2148, allocations: 0 / 0.9872 GB, free: 20.07 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.0006922/0.2155, allocations: 1 MB / 0.9882 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2155, allocations: 12.03 kB / 0.9882 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2156, allocations: 68.56 kB / 0.9883 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2158, allocations: 216.4 kB / 0.9885 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.2158, allocations: 36.36 kB / 0.9885 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.2159, allocations: 68.36 kB / 0.9886 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.2161, allocations: 213.4 kB / 0.9888 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2161, allocations: 192 / 0.9888 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2162, allocations: 11.92 kB / 0.9888 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2162, allocations: 4 kB / 0.9888 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.502e-05/0.2163, allocations: 67.78 kB / 0.9889 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.2169, allocations: 0.856 MB / 0.9897 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.217, allocations: 323.3 kB / 0.99 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2171, allocations: 136.8 kB / 0.9902 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2172, allocations: 12 kB / 0.9902 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003975/0.2176, allocations: 466.5 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.774e-06/0.2176, allocations: 0 / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.0008092/0.2184, allocations: 0.5503 MB / 0.9912 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2185, allocations: 439.2 kB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.2187, allocations: 292.3 kB / 0.9919 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.2188, allocations: 77.56 kB / 0.9919 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2189, allocations: 161.3 kB / 0.9921 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.219, allocations: 90.86 kB / 0.9922 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.2191, allocations: 35.98 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.2192, allocations: 354.8 kB / 0.9925 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.2199, allocations: 417.3 kB / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.2207, allocations: 0.6989 MB / 0.9936 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009344/0.2216, allocations: 1.199 MB / 0.9948 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2216, allocations: 4 kB / 0.9948 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002152/0.2238, allocations: 1.713 MB / 0.9965 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.2239, allocations: 485.4 kB / 0.9969 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.224, allocations: 8 kB / 0.9969 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.224, allocations: 20 kB / 0.997 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.2241, allocations: 27.86 kB / 0.997 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2241, allocations: 20.7 kB / 0.997 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.2265, allocations: 0.5655 MB / 0.9976 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.2267, allocations: 103.9 kB / 0.9977 GB, free: 8.145 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.0002447/0.2269, allocations: 213.6 kB / 0.9979 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.227, allocations: 47.47 kB / 0.9979 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.227, allocations: 38.08 kB / 0.9979 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.2271, allocations: 15.98 kB / 0.998 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.2271, allocations: 4 kB / 0.998 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2271, allocations: 7.984 kB / 0.998 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2274, allocations: 333.3 kB / 0.9983 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2274, allocations: 4 kB / 0.9983 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.2274, allocations: 15.92 kB / 0.9983 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.2274, allocations: 11.94 kB / 0.9983 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.2274, allocations: 15.98 kB / 0.9983 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.2275, allocations: 11.98 kB / 0.9983 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2275, allocations: 7.938 kB / 0.9984 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.228, allocations: 0.5117 MB / 0.9989 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.228, allocations: 116.6 kB / 0.999 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2281, allocations: 15.98 kB / 0.999 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.2282, allocations: 19.92 kB / 0.999 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.2282, allocations: 59.88 kB / 0.9991 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.2283, allocations: 31.92 kB / 0.9991 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001224/0.2284, allocations: 195 kB / 0.9993 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2284, allocations: 0 / 0.9993 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005618/0.229, allocations: 192 kB / 0.9995 GB, free: 6.156 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.0001441/0.2291, allocations: 139.1 kB / 0.9996 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.2306, allocations: 1.735 MB / 1.001 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2306, allocations: 8.062 kB / 1.001 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.2308, allocations: 192.9 kB / 1.001 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.2316, allocations: 105 kB / 1.002 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.2324, allocations: 0.6827 MB / 1.002 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.2325, allocations: 0.78 MB / 1.003 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.2327, allocations: 42.97 kB / 1.003 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.2327, allocations: 43.42 kB / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2327, allocations: 0 / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of Templates: time 0.01655/0.2493, allocations: 11.1 MB / 1.014 GB, free: 7.207 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)