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.62/1.62, allocations: 252 MB / 268 MB, free: 10.87 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.0009948/0.0009948, allocations: 173.6 kB / 327.6 MB, free: 2.105 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.456/1.456, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.000864/0.0008642, allocations: 93.05 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 9.375 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1775, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001169/0.1787, allocations: 1.025 MB / 0.9025 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.179, allocations: 177.7 kB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.1791, allocations: 0 / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.1791, allocations: 0 / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.1792, allocations: 3.938 kB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.1793, allocations: 7.984 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.809e-05/0.1793, allocations: 19.94 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.1794, allocations: 3.984 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.1794, allocations: 19.86 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.1795, allocations: 8 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1795, allocations: 0 / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.1795, allocations: 4 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.1795, allocations: 3.984 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.1796, allocations: 37.64 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.959e-05/0.1796, allocations: 11.97 kB / 0.9028 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1796, allocations: 0 / 0.9028 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1796, allocations: 0 / 0.9028 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1796, allocations: 0 / 0.9028 GB, free: 62.17 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.000345/0.18, allocations: 343.5 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.18, allocations: 8.031 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.1801, allocations: 0.9375 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.1801, allocations: 172.5 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1802, allocations: 384 / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.1802, allocations: 384 / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.315e-05/0.1802, allocations: 46.23 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1803, allocations: 192 / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1803, allocations: 3.938 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1803, allocations: 4 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.1803, allocations: 11.94 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.1804, allocations: 161.7 kB / 0.9035 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.1805, allocations: 22.52 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.1805, allocations: 12.92 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.1805, allocations: 0 / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.1806, allocations: 59.34 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.051e-06/0.1806, allocations: 0 / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001344/0.1808, allocations: 53.62 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.1808, allocations: 55.39 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.1809, allocations: 101.9 kB / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.1809, allocations: 25.7 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.702e-05/0.1809, allocations: 84.14 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.1809, allocations: 7.906 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.1809, allocations: 4 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.181, allocations: 322.8 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.181, allocations: 4 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.181, allocations: 21.66 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.1811, allocations: 25.7 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1811, allocations: 0 / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.065e-05/0.1811, allocations: 49.67 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1811, allocations: 15.92 kB / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1812, allocations: 0 / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1812, allocations: 0 / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.1812, allocations: 4 kB / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1812, allocations: 0 / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.1813, allocations: 4 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1813, allocations: 8 kB / 0.9043 GB, free: 60.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.1813, allocations: 109.8 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.1814, allocations: 16.36 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.1814, allocations: 7.5 kB / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1814, allocations: 0 / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1814, allocations: 0 / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1814, allocations: 3.984 kB / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.077e-05/0.1815, allocations: 157.7 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1815, allocations: 8 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-06/0.1815, allocations: 3.984 kB / 0.9046 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1815, allocations: 3.938 kB / 0.9046 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.1815, allocations: 3.938 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1815, allocations: 7.938 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1815, allocations: 0 / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.738e-05/0.1816, allocations: 69.12 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.1816, allocations: 77.11 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1816, allocations: 3.938 kB / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.1817, allocations: 15.98 kB / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.1817, allocations: 0 / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1818, allocations: 4 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.196e-05/0.1818, allocations: 83.27 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1818, allocations: 4 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000176/0.182, allocations: 8 kB / 0.9049 GB, free: 59.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.581e-05/0.182, allocations: 95.25 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.743e-05/0.1821, allocations: 23.92 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1821, allocations: 0 / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.1822, allocations: 12 kB / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.1824, allocations: 15.56 kB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.1826, allocations: 148.3 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.703e-05/0.1827, allocations: 0.6809 MB / 0.9058 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.1827, allocations: 7.438 kB / 0.9058 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.1827, allocations: 4 kB / 0.9058 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.001443/0.1842, allocations: 0.5664 MB / 0.9064 GB, free: 58.06 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)