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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 252 MB / 267.6 MB, free: 10.94 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.001055/0.001055, allocations: 174.6 kB / 327.3 MB, free: 2.191 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.708/1.708, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0007415/0.0007415, allocations: 92.08 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 13.59 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1825, allocations: 106.4 MB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001602/0.1842, allocations: 1.254 MB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.1848, allocations: 328 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.1849, allocations: 0 / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.1851, allocations: 11.86 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.1851, allocations: 15.88 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.1855, allocations: 67.91 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1856, allocations: 107.6 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1858, allocations: 29.39 kB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.1859, allocations: 47.83 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.1859, allocations: 39.83 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.186, allocations: 7.938 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1861, allocations: 55.91 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.1861, allocations: 27.89 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.1861, allocations: 41.64 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1863, allocations: 127.7 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1863, allocations: 0 / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1863, allocations: 0 / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1863, allocations: 0 / 0.903 GB, free: 61.68 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007442/0.1871, allocations: 491 kB / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1871, allocations: 15.95 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.1872, allocations: 15.81 kB / 0.9034 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.1874, allocations: 205.7 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1874, allocations: 8 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1874, allocations: 7.984 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.188, allocations: 221.4 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.188, allocations: 0 / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.188, allocations: 0 / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.1881, allocations: 8 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.1888, allocations: 259.8 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008607/0.1896, allocations: 484.4 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.1901, allocations: 170.4 kB / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.1904, allocations: 156.8 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1905, allocations: 3.984 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1905, allocations: 38.52 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.1905, allocations: 3.938 kB / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001208/0.1917, allocations: 474.9 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.1918, allocations: 51.41 kB / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.1919, allocations: 146.2 kB / 0.9056 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1919, allocations: 29.7 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.1919, allocations: 116.4 kB / 0.9057 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.192, allocations: 47.27 kB / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.192, allocations: 0 / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.1921, allocations: 322.8 kB / 0.9061 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.1924, allocations: 140 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.1928, allocations: 147.8 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.1931, allocations: 146.4 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1931, allocations: 0 / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007558/0.1939, allocations: 329.3 kB / 0.9068 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1939, allocations: 11.98 kB / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1939, allocations: 3.953 kB / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.194, allocations: 0 / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1942, allocations: 51.95 kB / 0.9069 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1942, allocations: 0 / 0.9069 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.1944, allocations: 51.8 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.1944, allocations: 8.234 kB / 0.9069 GB, free: 57.39 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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 8.102e-05/0.1945, allocations: 121.8 kB / 0.907 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.1946, allocations: 11.81 kB / 0.9071 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.1946, allocations: 12.84 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.1946, allocations: 23.94 kB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1946, allocations: 0 / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1946, allocations: 0 / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1949, allocations: 225.6 kB / 0.9073 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1949, allocations: 0 / 0.9073 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.1951, allocations: 55.89 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1951, allocations: 3.984 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1951, allocations: 0 / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1951, allocations: 0 / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1951, allocations: 3.953 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.1959, allocations: 435.1 kB / 0.9078 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.196, allocations: 85.02 kB / 0.9079 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.196, allocations: 7.938 kB / 0.9079 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.1962, allocations: 43.95 kB / 0.9079 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.1963, allocations: 19.94 kB / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1963, allocations: 0 / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.1964, allocations: 114.3 kB / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1964, allocations: 0 / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002643/0.1967, allocations: 39.84 kB / 0.9081 GB, free: 56.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0002014/0.1969, allocations: 131.2 kB / 0.9082 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007846/0.1977, allocations: 303.8 kB / 0.9085 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1977, allocations: 0 / 0.9085 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.1981, allocations: 163.8 kB / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1984, allocations: 19.92 kB / 0.9087 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.1989, allocations: 395 kB / 0.909 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.199, allocations: 0.7201 MB / 0.9097 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.1991, allocations: 11.44 kB / 0.9098 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1991, allocations: 0 / 0.9098 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.003459/0.2026, allocations: 1.856 MB / 0.9116 GB, free: 52.48 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)