Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.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.358/1.358, allocations: 252 MB / 267.6 MB, free: 10.91 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.0009317/0.0009317, allocations: 179 kB / 327.3 MB, free: 2.219 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.637/1.637, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0008112/0.0008113, allocations: 84.2 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 9.344 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2135, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001279/0.2149, allocations: 1.006 MB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.2152, allocations: 181.6 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.2153, allocations: 0 / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.2153, allocations: 0 / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/0.2154, allocations: 7.984 kB / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.2155, allocations: 15.86 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.262e-05/0.2156, allocations: 23.92 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.781e-05/0.2157, allocations: 0 / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.2157, allocations: 4 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.2157, allocations: 15.92 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2158, allocations: 0 / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.2158, allocations: 4 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.2158, allocations: 0 / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.2159, allocations: 25.7 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.3e-05/0.2159, allocations: 11.97 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2159, allocations: 4 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.216, allocations: 0 / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.216, allocations: 0 / 0.9021 GB, free: 62.61 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004178/0.2164, allocations: 344.6 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2164, allocations: 8.031 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2165, allocations: 4 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.713e-05/0.2166, allocations: 167.2 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2166, allocations: 12 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2166, allocations: 4 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.2167, allocations: 37.69 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2167, allocations: 3.938 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.2167, allocations: 0 / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2167, allocations: 0 / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.2168, allocations: 8 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.2169, allocations: 165.5 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.815e-05/0.217, allocations: 34.55 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.217, allocations: 4.859 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.217, allocations: 4.062 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.2171, allocations: 55.39 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.2171, allocations: 0 / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001521/0.2173, allocations: 53.62 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.2173, allocations: 59.39 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.768e-05/0.2174, allocations: 101.9 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.2174, allocations: 25.7 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.2175, allocations: 88.12 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.2175, allocations: 3.906 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.2175, allocations: 0 / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.2175, allocations: 322.8 kB / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.2176, allocations: 4 kB / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.2176, allocations: 21.72 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.972e-05/0.2176, allocations: 8 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2176, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.031e-05/0.2177, allocations: 57.56 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2177, allocations: 4 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2177, allocations: 0 / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2177, allocations: 4 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.2178, allocations: 3.984 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2178, allocations: 0 / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.2179, allocations: 12.03 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.2179, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.989e-05/0.2179, allocations: 121.7 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.218, allocations: 3.984 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.218, allocations: 3.5 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.218, allocations: 4 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.218, allocations: 0 / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.218, allocations: 0 / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.527e-05/0.2181, allocations: 161.6 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2181, allocations: 4 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-06/0.2181, allocations: 0 / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2181, allocations: 0 / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2181, allocations: 3.984 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2181, allocations: 4 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2181, allocations: 0 / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.373e-05/0.2182, allocations: 73.55 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.2183, allocations: 81.06 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2183, allocations: 8 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.2183, allocations: 7.984 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.2184, allocations: 3.938 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2184, allocations: 8.047 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.2184, allocations: 91.25 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2184, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002014/0.2186, allocations: 4 kB / 0.9042 GB, free: 60.12 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,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001163/0.2188, allocations: 99.25 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.844e-05/0.2188, allocations: 19.98 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2188, allocations: 0 / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.2189, allocations: 15.94 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.2191, allocations: 5.5 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.2193, allocations: 145.8 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.596e-05/0.2194, allocations: 0.6887 MB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.2195, allocations: 11.44 kB / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2195, allocations: 0 / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.001604/0.2211, allocations: 0.5656 MB / 0.9057 GB, free: 58.52 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)