Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001134, allocations: 98.2 kB / 16.3 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 179.2 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.949/0.949, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005339, allocations: 8 kB / 0.4955 GB, free: 9.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2034, allocations: 82.84 MB / 0.5764 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001347/0.2048, allocations: 1.061 MB / 0.5774 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008374/0.2057, allocations: 0.4956 MB / 0.5779 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2057, allocations: 0 / 0.5779 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.088e-05/0.2058, allocations: 0 / 0.5779 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.206, allocations: 43.86 kB / 0.5779 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.547e-05/0.2061, allocations: 31.89 kB / 0.5779 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.2063, allocations: 131.7 kB / 0.5781 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.2064, allocations: 8.188 kB / 0.5781 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2065, allocations: 67.88 kB / 0.5781 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2067, allocations: 87.77 kB / 0.5782 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.2067, allocations: 8 kB / 0.5782 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.2068, allocations: 23.98 kB / 0.5783 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.2069, allocations: 59.86 kB / 0.5783 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.2069, allocations: 45.64 kB / 0.5784 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2071, allocations: 84.09 kB / 0.5784 GB, free: 4.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2071, allocations: 0 / 0.5784 GB, free: 4.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2071, allocations: 0 / 0.5784 GB, free: 4.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2071, allocations: 0 / 0.5784 GB, free: 4.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007641/0.2078, allocations: 471 kB / 0.5789 GB, free: 4.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2079, allocations: 8.031 kB / 0.5789 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.2079, allocations: 19.77 kB / 0.5789 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.2082, allocations: 206.8 kB / 0.5791 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2082, allocations: 12.17 kB / 0.5791 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.2083, allocations: 16 kB / 0.5791 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2086, allocations: 175.4 kB / 0.5793 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2086, allocations: 4 kB / 0.5793 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.2086, allocations: 8 kB / 0.5793 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2086, allocations: 0 / 0.5793 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.2089, allocations: 152.5 kB / 0.5795 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.2093, allocations: 282.2 kB / 0.5797 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.2102, allocations: 362.8 kB / 0.5801 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/0.2105, allocations: 93.08 kB / 0.5802 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2105, allocations: 30.56 kB / 0.5802 GB, free: 2.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.2105, allocations: 0 / 0.5802 GB, free: 2.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.0006344/0.2111, allocations: 382.1 kB / 0.5806 GB, free: 2.301 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.2112, allocations: 55.41 kB / 0.5806 GB, free: 2.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.2113, allocations: 143.3 kB / 0.5808 GB, free: 2.086 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2113, allocations: 29.7 kB / 0.5808 GB, free: 2.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.2114, allocations: 92.7 kB / 0.5809 GB, free: 1.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.2115, allocations: 118.3 kB / 0.581 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.2115, allocations: 7.938 kB / 0.581 GB, free: 1.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2117, allocations: 326.8 kB / 0.5813 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.2119, allocations: 120.6 kB / 0.5814 GB, free: 1.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.2121, allocations: 125.2 kB / 0.5815 GB, free: 1.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.2123, allocations: 141.6 kB / 0.5817 GB, free: 1.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2123, allocations: 4 kB / 0.5817 GB, free: 1.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004922/0.2128, allocations: 350.1 kB / 0.582 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2128, allocations: 10.19 kB / 0.582 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2128, allocations: 3.984 kB / 0.582 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2128, allocations: 0 / 0.582 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.2132, allocations: 75.91 kB / 0.5821 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2132, allocations: 0 / 0.5821 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2133, allocations: 15.84 kB / 0.5821 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2133, allocations: 19.89 kB / 0.5821 GB, free: 0.6523 MB / 446.1 MB 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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 0.0001258/0.2135, allocations: 141.8 kB / 0.5823 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.2135, allocations: 15.81 kB / 0.5823 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/0.2142, allocations: 399 kB / 0.5827 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2142, allocations: 8 kB / 0.5827 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2142, allocations: 0 / 0.5827 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.2142, allocations: 3.984 kB / 0.5827 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5685/0.7827, allocations: 307.2 kB / 0.583 GB, free: 16.6 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7828, allocations: 0.6875 kB / 0.583 GB, free: 16.6 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.7834, allocations: 82.88 kB / 0.583 GB, free: 16.6 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.7834, allocations: 1.844 kB / 0.583 GB, free: 16.6 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.7834, allocations: 12.94 kB / 0.5831 GB, free: 16.6 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.7835, allocations: 1.844 kB / 0.5831 GB, free: 16.6 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7835, allocations: 0.7969 kB / 0.5831 GB, free: 16.6 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.7847, allocations: 0.5302 MB / 0.5836 GB, free: 16.52 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.7849, allocations: 125.6 kB / 0.5837 GB, free: 16.42 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.785, allocations: 11.38 kB / 0.5837 GB, free: 16.42 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.7851, allocations: 8.906 kB / 0.5837 GB, free: 16.42 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.7852, allocations: 27.81 kB / 0.5837 GB, free: 16.42 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.7852, allocations: 16.8 kB / 0.5838 GB, free: 16.41 MB / 446.3 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.7853, allocations: 98.38 kB / 0.5839 GB, free: 16.34 MB / 446.3 MB Notification: Performance of sort global known variables: time 3e-07/0.7853, allocations: 3.594 kB / 0.5839 GB, free: 16.34 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003707/0.7857, allocations: 67.17 kB / 0.5839 GB, free: 16.34 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0002134/0.7859, allocations: 117.7 kB / 0.584 GB, free: 16.25 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.00069/0.7866, allocations: 297.7 kB / 0.5843 GB, free: 16.25 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7866, allocations: 0 / 0.5843 GB, free: 16.25 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.7869, allocations: 172.5 kB / 0.5845 GB, free: 16.25 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.7872, allocations: 30.98 kB / 0.5845 GB, free: 16.25 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.7887, allocations: 1.004 MB / 0.5855 GB, free: 15.7 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.789, allocations: 0.7555 MB / 0.5862 GB, free: 15 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.7892, allocations: 93.88 kB / 0.5863 GB, free: 14.99 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.7893, allocations: 31.42 kB / 0.5863 GB, free: 14.98 MB / 446.3 MB Notification: Performance of SimCode: time 6.21e-07/0.7894, allocations: 0 / 0.5863 GB, free: 14.98 MB / 446.3 MB Notification: Performance of Templates: time 0.007424/0.7968, allocations: 2.661 MB / 0.5889 GB, free: 14.81 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches