Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008403, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004773/0.004774, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004548, allocations: 12.78 kB / 0.6745 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1734, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0007907/0.1742, allocations: 473.3 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1755, allocations: 1.134 MB / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.1756, allocations: 0 / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.1756, allocations: 3.938 kB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.1757, allocations: 7.922 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.176, allocations: 122.6 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1762, allocations: 103.8 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.1762, allocations: 11.98 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.1763, allocations: 35.91 kB / 0.7899 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.1764, allocations: 35.84 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1764, allocations: 4 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.1765, allocations: 23.92 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.1765, allocations: 11.98 kB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.1766, allocations: 57.56 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1767, allocations: 123.9 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1768, allocations: 3.938 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.001e-06/0.1768, allocations: 0 / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.1768, allocations: 4 kB / 0.7901 GB, free: 9.293 MB / 0.6075 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.0003815/0.1772, allocations: 377.1 kB / 0.7905 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1772, allocations: 12.03 kB / 0.7905 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.1772, allocations: 38.73 kB / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1773, allocations: 4.938 kB / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1774, allocations: 176.2 kB / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1774, allocations: 4.375 kB / 0.7907 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1774, allocations: 4.375 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.416e-05/0.1775, allocations: 46.19 kB / 0.7907 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1776, allocations: 7.922 kB / 0.7907 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1776, allocations: 3.984 kB / 0.7908 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1776, allocations: 11.94 kB / 0.7908 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.1776, allocations: 12 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.178, allocations: 324.8 kB / 0.7911 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.1781, allocations: 38.52 kB / 0.7911 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.1781, allocations: 12.91 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.1781, allocations: 0 / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.1782, allocations: 71.3 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1783, allocations: 0 / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001816/0.1784, allocations: 73.62 kB / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1785, allocations: 51.41 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.1786, allocations: 129.8 kB / 0.7914 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1786, allocations: 25.7 kB / 0.7915 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.1787, allocations: 92.05 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.1787, allocations: 11.91 kB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1787, allocations: 21.7 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.1788, allocations: 314.8 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.1789, allocations: 43.92 kB / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/0.179, allocations: 58.55 kB / 0.792 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1791, allocations: 96.2 kB / 0.7921 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1791, allocations: 0 / 0.7921 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002482/0.1794, allocations: 159.2 kB / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.1794, allocations: 37.7 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1794, allocations: 0 / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1795, allocations: 4 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.1795, allocations: 3.984 kB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1795, allocations: 4 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.1797, allocations: 38.84 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1798, allocations: 4 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.803e-05/0.1798, allocations: 121.8 kB / 0.7924 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.1799, allocations: 7.891 kB / 0.7924 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.1799, allocations: 11.91 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1799, allocations: 7.938 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1799, allocations: 0 / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1799, allocations: 0 / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.18, allocations: 185.5 kB / 0.7926 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.18, allocations: 64 / 0.7926 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.597e-05/0.1801, allocations: 4 kB / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1801, allocations: 0 / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1801, allocations: 7.938 kB / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1801, allocations: 0 / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1801, allocations: 0 / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1802, allocations: 89.3 kB / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.1802, allocations: 89 kB / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1803, allocations: 0 / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.1803, allocations: 48 / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.1803, allocations: 11.98 kB / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1803, allocations: 0 / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.1804, allocations: 99.64 kB / 0.7929 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.423e-06/0.1804, allocations: 0 / 0.7929 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002004/0.1806, allocations: 23.94 kB / 0.7929 GB, free: 6 MB / 0.6075 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,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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 0.000357/0.181, allocations: 0.6358 MB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1812, allocations: 131.3 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1812, allocations: 4 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/0.1812, allocations: 16 kB / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1814, allocations: 16.11 kB / 0.7937 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1828, allocations: 1.499 MB / 0.7952 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.183, allocations: 0.6848 MB / 0.7959 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.1831, allocations: 7.984 kB / 0.7959 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1831, allocations: 15.77 kB / 0.7959 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.1831, allocations: 0 / 0.7959 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2241/0.4072, allocations: 2.111 MB / 0.7979 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.4074, allocations: 215 kB / 0.7982 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.092, allocations: 7.594 kB / 0.7982 GB, free: 0.6055 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)