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.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001158/0.001158, allocations: 164.9 kB / 326.5 MB, free: 2.699 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.509/1.509, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0007186/0.0007185, allocations: 87.02 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 15.77 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1849, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001139/0.1861, allocations: 1.014 MB / 0.8978 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.1864, allocations: 189 kB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.1865, allocations: 0 / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.1865, allocations: 0 / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.1866, allocations: 11.94 kB / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.535e-05/0.1867, allocations: 3.984 kB / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.1867, allocations: 23.94 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.1868, allocations: 3.984 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.1868, allocations: 7.984 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.1869, allocations: 19.88 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1869, allocations: 3.938 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.1869, allocations: 0 / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.1869, allocations: 3.984 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.187, allocations: 7.938 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.992e-05/0.187, allocations: 20.19 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.187, allocations: 0 / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.187, allocations: 0 / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.187, allocations: 0 / 0.898 GB, free: 66.82 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.0003406/0.1874, allocations: 339.5 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.1874, allocations: 8.031 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.1875, allocations: 4.938 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.315e-05/0.1875, allocations: 172.3 kB / 0.8985 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1876, allocations: 4.375 kB / 0.8985 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.1876, allocations: 384 / 0.8985 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.214e-05/0.1876, allocations: 34.25 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.1876, allocations: 192 / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1877, allocations: 3.938 kB / 0.8986 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1877, allocations: 4 kB / 0.8986 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.1877, allocations: 11.94 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.988e-05/0.1878, allocations: 157.7 kB / 0.8987 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.349e-05/0.1879, allocations: 26.61 kB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.1879, allocations: 8.922 kB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.1879, allocations: 0 / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.958e-05/0.188, allocations: 59.34 kB / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.188, allocations: 0 / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001269/0.1881, allocations: 57.62 kB / 0.8989 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.1882, allocations: 51.41 kB / 0.8989 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.124e-05/0.1882, allocations: 105.8 kB / 0.899 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.1882, allocations: 29.7 kB / 0.8991 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.807e-05/0.1883, allocations: 80.14 kB / 0.8991 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.1883, allocations: 11.89 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.1883, allocations: 17.72 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.1884, allocations: 318.8 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.1884, allocations: 8 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.1884, allocations: 13.72 kB / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.1884, allocations: 33.64 kB / 0.8995 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1884, allocations: 0 / 0.8995 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.879e-05/0.1885, allocations: 49.64 kB / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1885, allocations: 15.95 kB / 0.8996 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1885, allocations: 0 / 0.8996 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.1885, allocations: 0.5156 kB / 0.8996 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.1886, allocations: 4 kB / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1886, allocations: 3.938 kB / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.1887, allocations: 7.938 kB / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1887, allocations: 4 kB / 0.8996 GB, free: 64.97 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.pulseStart,$PRE.booPul.pulseStart,booPul.y) * 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.826e-05/0.1887, allocations: 113.8 kB / 0.8997 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.1887, allocations: 15.84 kB / 0.8997 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.1888, allocations: 7.484 kB / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1888, allocations: 0 / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1888, allocations: 4 kB / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1888, allocations: 0 / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.794e-05/0.1889, allocations: 153.7 kB / 0.8999 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1889, allocations: 4 kB / 0.8999 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.1889, allocations: 3.984 kB / 0.8999 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1889, allocations: 3.938 kB / 0.8999 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1889, allocations: 0 / 0.8999 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1889, allocations: 7.938 kB / 0.8999 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1889, allocations: 0 / 0.8999 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.707e-05/0.189, allocations: 73.12 kB / 0.9 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.189, allocations: 77.11 kB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.189, allocations: 3.938 kB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.1891, allocations: 11.98 kB / 0.9001 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1891, allocations: 0 / 0.9001 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1891, allocations: 7.938 kB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.1892, allocations: 87.27 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1892, allocations: 0 / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001946/0.1894, allocations: 8 kB / 0.9002 GB, free: 64.3 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.959e-05/0.1895, allocations: 95.25 kB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.081e-05/0.1895, allocations: 23.92 kB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1895, allocations: 4 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.1896, allocations: 8.062 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.1897, allocations: 8 kB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.19, allocations: 145.5 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.13e-05/0.1901, allocations: 0.677 MB / 0.9011 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.1901, allocations: 7.438 kB / 0.9011 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.1901, allocations: 0 / 0.9011 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.001354/0.1915, allocations: 0.5722 MB / 0.9017 GB, free: 62.7 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)