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.0009595/0.0009595, allocations: 87.16 kB / 16.31 MB, free: 6.449 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.001092/0.001092, allocations: 183.8 kB / 17.21 MB, free: 6.316 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.409/1.409, allocations: 223.3 MB / 241.2 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8847/0.8847, allocations: 120.5 MB / 412.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 11.98 kB / 0.4956 GB, free: 9.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1967, allocations: 82.85 MB / 0.5765 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001558/0.1983, allocations: 1.085 MB / 0.5775 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008362/0.1991, allocations: 495.6 kB / 0.578 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.1992, allocations: 0 / 0.578 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.727e-05/0.1993, allocations: 7.922 kB / 0.578 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.1996, allocations: 51.8 kB / 0.5781 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.104e-05/0.1997, allocations: 31.89 kB / 0.5781 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1999, allocations: 195.5 kB / 0.5783 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.2, allocations: 16.17 kB / 0.5783 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2001, allocations: 75.81 kB / 0.5784 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.2003, allocations: 99.75 kB / 0.5785 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2003, allocations: 8 kB / 0.5785 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.601e-05/0.2004, allocations: 31.97 kB / 0.5785 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.2005, allocations: 63.86 kB / 0.5786 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.2006, allocations: 45.64 kB / 0.5786 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2007, allocations: 96.08 kB / 0.5787 GB, free: 4.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2008, allocations: 0 / 0.5787 GB, free: 4.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2008, allocations: 0 / 0.5787 GB, free: 4.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2008, allocations: 0 / 0.5787 GB, free: 4.469 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.0007967/0.2016, allocations: 459 kB / 0.5791 GB, free: 3.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2016, allocations: 8.031 kB / 0.5791 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.2017, allocations: 19.77 kB / 0.5792 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.2019, allocations: 206.8 kB / 0.5793 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2019, allocations: 16.17 kB / 0.5794 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.202, allocations: 12 kB / 0.5794 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.2023, allocations: 187.3 kB / 0.5796 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2023, allocations: 0 / 0.5796 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2023, allocations: 4 kB / 0.5796 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2023, allocations: 4 kB / 0.5796 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.2026, allocations: 148.5 kB / 0.5797 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.2029, allocations: 282.2 kB / 0.58 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/0.2038, allocations: 354.8 kB / 0.5803 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.204, allocations: 116.8 kB / 0.5804 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.2042, allocations: 89.09 kB / 0.5805 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.394e-05/0.2043, allocations: 38.56 kB / 0.5805 GB, free: 2.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.2043, allocations: 0 / 0.5805 GB, free: 2.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007056/0.205, allocations: 378 kB / 0.5809 GB, free: 2.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.2051, allocations: 59.41 kB / 0.581 GB, free: 1.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2052, allocations: 147.1 kB / 0.5811 GB, free: 1.785 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2052, allocations: 25.7 kB / 0.5811 GB, free: 1.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.2053, allocations: 92.7 kB / 0.5812 GB, free: 1.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.564e-05/0.2054, allocations: 114.4 kB / 0.5813 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.2054, allocations: 4 kB / 0.5813 GB, free: 1.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2056, allocations: 330.8 kB / 0.5816 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.2058, allocations: 120.6 kB / 0.5818 GB, free: 1.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.206, allocations: 133.2 kB / 0.5819 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.2062, allocations: 137.6 kB / 0.582 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2062, allocations: 0 / 0.582 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000515/0.2067, allocations: 362.1 kB / 0.5824 GB, free: 480 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2067, allocations: 6.344 kB / 0.5824 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2067, allocations: 4 kB / 0.5824 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2068, allocations: 0 / 0.5824 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.207, allocations: 75.91 kB / 0.5824 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2071, allocations: 0 / 0.5824 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.2072, allocations: 23.73 kB / 0.5825 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.2072, allocations: 19.98 kB / 0.5825 GB, free: 352 kB / 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.0001295/0.2073, allocations: 133.8 kB / 0.5826 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.2074, allocations: 19.8 kB / 0.5826 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5435/0.7508, allocations: 393.4 kB / 0.583 GB, free: 16.68 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.7509, allocations: 4.688 kB / 0.583 GB, free: 16.68 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.7509, allocations: 0 / 0.583 GB, free: 16.68 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.7509, allocations: 2.625 kB / 0.583 GB, free: 16.68 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.7514, allocations: 311.1 kB / 0.5833 GB, free: 16.49 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.7514, allocations: 0 / 0.5833 GB, free: 16.49 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.7519, allocations: 84.61 kB / 0.5834 GB, free: 16.49 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.7519, allocations: 1.531 kB / 0.5834 GB, free: 16.49 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.752, allocations: 13.42 kB / 0.5834 GB, free: 16.49 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.752, allocations: 1.625 kB / 0.5834 GB, free: 16.49 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.752, allocations: 3.344 kB / 0.5834 GB, free: 16.49 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.753, allocations: 0.5292 MB / 0.5839 GB, free: 16.41 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.7532, allocations: 125.4 kB / 0.584 GB, free: 16.31 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.7532, allocations: 17.2 kB / 0.5841 GB, free: 16.3 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.7534, allocations: 8.531 kB / 0.5841 GB, free: 16.3 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.7534, allocations: 23.38 kB / 0.5841 GB, free: 16.3 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.7535, allocations: 13.16 kB / 0.5841 GB, free: 16.3 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.471e-05/0.7535, allocations: 105.4 kB / 0.5842 GB, free: 16.23 MB / 446.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7535, allocations: 0 / 0.5842 GB, free: 16.23 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.000318/0.7539, allocations: 67.5 kB / 0.5843 GB, free: 16.23 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.0001717/0.754, allocations: 112.8 kB / 0.5844 GB, free: 16.14 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.7546, allocations: 305 kB / 0.5847 GB, free: 16.14 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7546, allocations: 1.969 kB / 0.5847 GB, free: 16.14 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.7549, allocations: 170.2 kB / 0.5848 GB, free: 16.13 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.7553, allocations: 33.16 kB / 0.5849 GB, free: 16.13 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.7568, allocations: 1.003 MB / 0.5858 GB, free: 15.59 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.7571, allocations: 0.7458 MB / 0.5866 GB, free: 14.89 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.7573, allocations: 97.28 kB / 0.5867 GB, free: 14.88 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.7574, allocations: 30.86 kB / 0.5867 GB, free: 14.87 MB / 446.3 MB Notification: Performance of SimCode: time 5.31e-07/0.7575, allocations: 0 / 0.5867 GB, free: 14.87 MB / 446.3 MB Notification: Performance of Templates: time 0.007558/0.765, allocations: 2.69 MB / 0.5893 GB, free: 14.69 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