Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.488/1.488, allocations: 288.4 MB / 303.6 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 174.7 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.4 MB / 0.631 GB, free: 9.855 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000669/0.0006691, allocations: 104.2 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 18.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0008117/0.1657, allocations: 0.5262 MB / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1668, allocations: 1.001 MB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.1669, allocations: 4 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.167, allocations: 3.938 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.167, allocations: 15.8 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1673, allocations: 67.92 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.943e-05/0.1674, allocations: 111.6 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1676, allocations: 41.39 kB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.1677, allocations: 43.83 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.1677, allocations: 39.83 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1678, allocations: 4 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1679, allocations: 51.91 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.1679, allocations: 35.89 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.168, allocations: 69.38 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1682, allocations: 127.9 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1682, allocations: 0 / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1682, allocations: 0 / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1682, allocations: 0 / 0.9823 GB, free: 25.06 MB / 0.6198 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.0007668/0.169, allocations: 494.9 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.169, allocations: 8.031 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.1691, allocations: 42.75 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1691, allocations: 16.75 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1693, allocations: 204 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1693, allocations: 4.375 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1694, allocations: 8.375 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.1699, allocations: 206.1 kB / 0.9832 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1699, allocations: 3.938 kB / 0.9832 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.17, allocations: 4 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.17, allocations: 15.98 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.1707, allocations: 259.8 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.1715, allocations: 488.2 kB / 0.984 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1719, allocations: 162.5 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.1723, allocations: 160.8 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1723, allocations: 7.938 kB / 0.9843 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.1723, allocations: 34.5 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.1723, allocations: 3.984 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001154/0.1735, allocations: 481.2 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1735, allocations: 51.41 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.219e-05/0.1736, allocations: 149.2 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1736, allocations: 25.7 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.1737, allocations: 108.3 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1737, allocations: 51.36 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.1737, allocations: 0 / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.1738, allocations: 326.8 kB / 0.9855 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.1741, allocations: 139.9 kB / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.1745, allocations: 147.9 kB / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.1752, allocations: 290.5 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1752, allocations: 4 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007245/0.1759, allocations: 334.6 kB / 0.9863 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1759, allocations: 4 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1759, allocations: 0 / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1759, allocations: 0 / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1762, allocations: 55.94 kB / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1762, allocations: 3.938 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.1764, allocations: 51.81 kB / 0.9864 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.1764, allocations: 7.984 kB / 0.9864 GB, free: 20.57 MB / 0.6198 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 7.094e-05/0.1765, allocations: 121.8 kB / 0.9866 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1765, allocations: 11.89 kB / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.1765, allocations: 16.84 kB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.1766, allocations: 8 kB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1766, allocations: 7.922 kB / 0.9866 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1766, allocations: 4 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.1768, allocations: 233.4 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1768, allocations: 3.984 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.177, allocations: 47.95 kB / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.177, allocations: 4 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.177, allocations: 3.938 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.177, allocations: 0 / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.177, allocations: 7.938 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.1778, allocations: 423.2 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.1778, allocations: 96.86 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1778, allocations: 4 kB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.178, allocations: 39.95 kB / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.1781, allocations: 19.92 kB / 0.9875 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1781, allocations: 4 kB / 0.9875 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.1782, allocations: 107.2 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1782, allocations: 3.938 kB / 0.9876 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002702/0.1784, allocations: 35.98 kB / 0.9876 GB, free: 19.3 MB / 0.6198 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.001004/0.1794, allocations: 0.9957 MB / 0.9886 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007487/0.1802, allocations: 307.8 kB / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1802, allocations: 0 / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.1806, allocations: 159.9 kB / 0.989 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1809, allocations: 23.2 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1828, allocations: 1.195 MB / 0.9902 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.1829, allocations: 0.72 MB / 0.9909 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.583e-05/0.183, allocations: 15.98 kB / 0.9909 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.1831, allocations: 35.42 kB / 0.991 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.1831, allocations: 0 / 0.991 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.1954, allocations: 2.981 MB / 0.9939 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.1956, allocations: 205 kB / 0.9941 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/1.989, allocations: 0 / 0.9941 GB, free: 12.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)