Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 174.3 kB / 327.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 0.5783 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007827/0.0007827, allocations: 86.36 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 12.38 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2297, allocations: 106.3 MB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001408/0.2312, allocations: 1.053 MB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003611/0.2316, allocations: 141.8 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.2316, allocations: 3.938 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.2317, allocations: 0 / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/0.2318, allocations: 3.938 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.2319, allocations: 11.98 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.232, allocations: 39.84 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.994e-05/0.2321, allocations: 8 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.2322, allocations: 19.91 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.2322, allocations: 11.98 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.2323, allocations: 4 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.2323, allocations: 0 / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.2323, allocations: 11.92 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.2323, allocations: 29.7 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.469e-05/0.2324, allocations: 27.94 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2324, allocations: 0 / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2324, allocations: 4 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2324, allocations: 0 / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000512/0.2329, allocations: 355.5 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.233, allocations: 8.031 kB / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.233, allocations: 7.906 kB / 0.9025 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.2331, allocations: 163 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2331, allocations: 7.938 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2332, allocations: 4 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.2334, allocations: 69.59 kB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2334, allocations: 0 / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2334, allocations: 3.984 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2334, allocations: 4 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.2336, allocations: 51.95 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.234, allocations: 264.9 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.2342, allocations: 74.53 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2344, allocations: 40.86 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-06/0.2344, allocations: 0 / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.2346, allocations: 91.36 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2347, allocations: 0 / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004314/0.2351, allocations: 125.5 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.2351, allocations: 55.41 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.2352, allocations: 117.7 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2353, allocations: 25.7 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.2353, allocations: 88.12 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.2354, allocations: 15.75 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.2354, allocations: 0 / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.2355, allocations: 322.8 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2357, allocations: 35.91 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2358, allocations: 36.28 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.236, allocations: 36.12 kB / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.236, allocations: 0 / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003366/0.2363, allocations: 101.6 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2364, allocations: 8 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2364, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2364, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2366, allocations: 23.92 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2366, allocations: 0 / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2367, allocations: 11.98 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2368, allocations: 11.95 kB / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.516e-05/0.2368, allocations: 105.8 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.2369, allocations: 7.906 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.2369, allocations: 19.83 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2369, allocations: 0 / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2369, allocations: 0 / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2369, allocations: 4 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.636e-05/0.237, allocations: 169.6 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.237, allocations: 0 / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.2371, allocations: 11.98 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2371, allocations: 0 / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2371, allocations: 4 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2371, allocations: 0 / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2372, allocations: 4 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.2374, allocations: 121 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.2375, allocations: 85.02 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.2375, allocations: 7.984 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.2376, allocations: 12 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.2377, allocations: 12.2 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2377, allocations: 0 / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.2377, allocations: 87.28 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2377, allocations: 0 / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001733/0.2379, allocations: 8 kB / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001476/0.2381, allocations: 111.2 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.2383, allocations: 71.88 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2383, allocations: 0 / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.2385, allocations: 39.97 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2387, allocations: 19.88 kB / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.239, allocations: 156.4 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.2392, allocations: 0.6809 MB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.2392, allocations: 15.44 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.2392, allocations: 0 / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.001997/0.2412, allocations: 0.7932 MB / 0.9067 GB, free: 57.5 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)