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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009958/0.0009959, allocations: 172.9 kB / 325.8 MB, free: 2.688 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.471/1.471, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007012/0.0007014, allocations: 92.36 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 14.94 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1782, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001334/0.1795, allocations: 1.292 MB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005245/0.1801, allocations: 352.5 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.1801, allocations: 4 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.406e-05/0.1802, allocations: 3.938 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.1803, allocations: 27.78 kB / 0.8979 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1805, allocations: 55.94 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.1806, allocations: 123.6 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1807, allocations: 49.59 kB / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.1808, allocations: 43.83 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.1809, allocations: 47.77 kB / 0.8982 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1809, allocations: 4 kB / 0.8982 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.181, allocations: 67.83 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.181, allocations: 23.92 kB / 0.8983 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.181, allocations: 47.59 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1812, allocations: 179.4 kB / 0.8985 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1812, allocations: 0 / 0.8985 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1812, allocations: 0 / 0.8985 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1812, allocations: 0 / 0.8985 GB, free: 65.75 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.0006105/0.1819, allocations: 491 kB / 0.8989 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1819, allocations: 8.031 kB / 0.8989 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.1819, allocations: 42.75 kB / 0.899 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.182, allocations: 20.75 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1821, allocations: 204 kB / 0.8992 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.1821, allocations: 384 / 0.8992 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1821, allocations: 8.375 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.1826, allocations: 221.9 kB / 0.8994 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1826, allocations: 3.938 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1826, allocations: 8 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.1826, allocations: 8 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.1833, allocations: 263.7 kB / 0.8997 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/0.184, allocations: 484.3 kB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.1844, allocations: 167.3 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.1847, allocations: 152.8 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1847, allocations: 4 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.1847, allocations: 34.55 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.1848, allocations: 3.938 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001103/0.1859, allocations: 477.4 kB / 0.901 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.1859, allocations: 55.41 kB / 0.901 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.186, allocations: 158.2 kB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.186, allocations: 25.7 kB / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.186, allocations: 108.3 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1861, allocations: 47.27 kB / 0.9013 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.1861, allocations: 17.72 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.1861, allocations: 318.8 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.1865, allocations: 143.9 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.1868, allocations: 144.7 kB / 0.9019 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006185/0.1874, allocations: 294.3 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1874, allocations: 0 / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006754/0.1881, allocations: 337.4 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1881, allocations: 4 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1881, allocations: 0 / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1881, allocations: 4 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.1884, allocations: 47.95 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1884, allocations: 7.875 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1885, allocations: 55.8 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1886, allocations: 4.234 kB / 0.9026 GB, free: 61.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/0.1886, allocations: 126.4 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1887, allocations: 15.81 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.1887, allocations: 8.844 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.1887, allocations: 15.98 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1887, allocations: 3.938 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1887, allocations: 0 / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1889, allocations: 225.6 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1889, allocations: 4 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1891, allocations: 43.95 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1891, allocations: 3.938 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1891, allocations: 7.984 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1891, allocations: 4 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1891, allocations: 3.938 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006943/0.1898, allocations: 432.9 kB / 0.9035 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.1899, allocations: 85.02 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1899, allocations: 11.94 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1901, allocations: 43.95 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.1901, allocations: 23.91 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1902, allocations: 0 / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.1902, allocations: 114.5 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1902, allocations: 0 / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002382/0.1905, allocations: 47.83 kB / 0.9038 GB, free: 59.94 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 (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.0009282/0.1914, allocations: 0.9838 MB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007104/0.1921, allocations: 307.7 kB / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1921, allocations: 0 / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.1925, allocations: 159.9 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1928, allocations: 19.92 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.1954, allocations: 2.34 MB / 0.9075 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.1955, allocations: 0.7121 MB / 0.9082 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.376e-05/0.1956, allocations: 23.91 kB / 0.9082 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.1957, allocations: 39.42 kB / 0.9083 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1957, allocations: 7.938 kB / 0.9083 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.2073, allocations: 3.001 MB / 0.9112 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/0.2074, allocations: 219.7 kB / 0.9114 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.834, allocations: 3.938 kB / 0.9114 GB, free: 52.13 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)