Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, 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.001042/0.001043, allocations: 178.1 kB / 327.6 MB, free: 2.113 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.574/1.574, allocations: 205.4 MB / 0.5786 GB, free: 20.23 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.0007691/0.0007695, allocations: 85.98 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.000305, allocations: 13.62 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.00122/0.1712, allocations: 1.089 MB / 0.9025 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000244/0.1714, allocations: 125.8 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.1715, allocations: 0 / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1715, allocations: 3.984 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.1716, allocations: 0 / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.1717, allocations: 11.94 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.1717, allocations: 23.98 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.1718, allocations: 3.984 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.1719, allocations: 11.94 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.1719, allocations: 7.984 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1719, allocations: 3.938 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.172, allocations: 0 / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.172, allocations: 7.938 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.172, allocations: 33.69 kB / 0.9028 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.495e-05/0.1721, allocations: 15.97 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1721, allocations: 3.938 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1721, allocations: 0 / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.1721, allocations: 0 / 0.9028 GB, free: 62.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003266/0.1724, allocations: 339.5 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1725, allocations: 8.031 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.1725, allocations: 4.938 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.816e-05/0.1726, allocations: 168.3 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1726, allocations: 384 / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1726, allocations: 4.375 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1727, allocations: 54.23 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.1728, allocations: 4.125 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1728, allocations: 3.938 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1728, allocations: 0 / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.1729, allocations: 51.89 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.1732, allocations: 249.2 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1733, allocations: 46.5 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.125e-05/0.1734, allocations: 32.89 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1734, allocations: 0 / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.1734, allocations: 38.55 kB / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1734, allocations: 8 kB / 0.9038 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003083/0.1737, allocations: 97.58 kB / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.1738, allocations: 51.53 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.399e-05/0.1738, allocations: 97.86 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.1738, allocations: 29.7 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.1739, allocations: 88.12 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.1739, allocations: 3.906 kB / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.1739, allocations: 0 / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.1739, allocations: 314.8 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.174, allocations: 23.98 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.1741, allocations: 19.97 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1742, allocations: 56.83 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1743, allocations: 4 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001979/0.1745, allocations: 77.59 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1745, allocations: 4 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1745, allocations: 32 / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1745, allocations: 4 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.1746, allocations: 11.94 kB / 0.9046 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1746, allocations: 3.984 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1746, allocations: 8 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1747, allocations: 0 / 0.9046 GB, free: 60.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.171e-05/0.1747, allocations: 113.8 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.1747, allocations: 7.906 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1749, allocations: 88.7 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1749, allocations: 0 / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.175, allocations: 0 / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.175, allocations: 0 / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1751, allocations: 161.6 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1751, allocations: 0 / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.1751, allocations: 11.98 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1752, allocations: 4 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1752, allocations: 4 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1752, allocations: 0 / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1752, allocations: 3.938 kB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.1754, allocations: 179.4 kB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.1754, allocations: 77.11 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1754, allocations: 4 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1755, allocations: 8.016 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.1755, allocations: 4 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1755, allocations: 4 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.036e-05/0.1756, allocations: 87.27 kB / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1756, allocations: 0 / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001883/0.1758, allocations: 0 / 0.9053 GB, free: 59.22 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 9.947e-05/0.1759, allocations: 100.2 kB / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.176, allocations: 51.95 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1761, allocations: 0 / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.1761, allocations: 27.92 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.1764, allocations: 12.06 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.1766, allocations: 140.4 kB / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.438e-05/0.1767, allocations: 0.6731 MB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.1767, allocations: 11.44 kB / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1767, allocations: 0 / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.001395/0.1781, allocations: 0.538 MB / 0.9068 GB, free: 57.62 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)