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.459/1.459, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009983/0.0009983, allocations: 174.8 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0009147/0.0009147, allocations: 84.94 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 12.12 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1968, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001691/0.1985, allocations: 1.281 MB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.1992, allocations: 343.9 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.1993, allocations: 0 / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.1994, allocations: 7.922 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.1995, allocations: 23.78 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1999, allocations: 67.94 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2, allocations: 111.6 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2002, allocations: 49.38 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.2003, allocations: 39.83 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.2003, allocations: 51.77 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.2004, allocations: 7.938 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2005, allocations: 51.95 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.2005, allocations: 27.92 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.2006, allocations: 81.3 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2008, allocations: 175.4 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2008, allocations: 0 / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2008, allocations: 3.938 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.2008, allocations: 0 / 0.9032 GB, free: 60.88 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.0007524/0.2016, allocations: 479.3 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2016, allocations: 12.02 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.2017, allocations: 46.75 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.2017, allocations: 16.75 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2019, allocations: 218.9 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2019, allocations: 4.375 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.2019, allocations: 12.31 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.2025, allocations: 206 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2025, allocations: 7.938 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.2025, allocations: 4 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.2026, allocations: 15.98 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.2033, allocations: 251.8 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.2042, allocations: 496.3 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.2046, allocations: 162.5 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.2049, allocations: 156.8 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.205, allocations: 0 / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.205, allocations: 38.5 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.205, allocations: 0 / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001201/0.2062, allocations: 479.4 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2063, allocations: 55.41 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2064, allocations: 146.2 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2064, allocations: 25.7 kB / 0.9059 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.2065, allocations: 108.4 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.2065, allocations: 59.27 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.2065, allocations: 0 / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.2066, allocations: 322.8 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.207, allocations: 147.9 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.2073, allocations: 135.9 kB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.208, allocations: 295.2 kB / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.208, allocations: 4 kB / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000776/0.2088, allocations: 325.4 kB / 0.9072 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2088, allocations: 8 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2088, allocations: 4 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.2089, allocations: 0 / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.2091, allocations: 47.95 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2091, allocations: 7.938 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.2093, allocations: 51.8 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.2093, allocations: 4 kB / 0.9073 GB, free: 56.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.031e-05/0.2094, allocations: 138.3 kB / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.2094, allocations: 11.81 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.2095, allocations: 16.83 kB / 0.9075 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.2095, allocations: 8 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2095, allocations: 7.938 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2095, allocations: 4 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.2097, allocations: 225.5 kB / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2097, allocations: 0 / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.2099, allocations: 47.95 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2099, allocations: 8 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.21, allocations: 3.984 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.21, allocations: 0 / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.21, allocations: 3.938 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.2108, allocations: 431.1 kB / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.2108, allocations: 92.94 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2108, allocations: 4 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.211, allocations: 43.95 kB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.2111, allocations: 11.92 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2111, allocations: 4 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.247e-05/0.2112, allocations: 118.3 kB / 0.9085 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2112, allocations: 0 / 0.9085 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000272/0.2115, allocations: 39.89 kB / 0.9085 GB, free: 55.11 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.001037/0.2125, allocations: 0.9811 MB / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007379/0.2132, allocations: 315.6 kB / 0.9098 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2133, allocations: 0 / 0.9098 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.2136, allocations: 163.9 kB / 0.9099 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.214, allocations: 15.94 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.2179, allocations: 2.335 MB / 0.9122 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.2181, allocations: 0.72 MB / 0.9129 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.973e-05/0.2182, allocations: 19.95 kB / 0.9129 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.2183, allocations: 39.42 kB / 0.913 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2183, allocations: 0 / 0.913 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.2297, allocations: 3.012 MB / 0.9159 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/0.2299, allocations: 213.6 kB / 0.9161 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/1.984, allocations: 3.938 kB / 0.9161 GB, free: 47.29 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)