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.001357/0.001357, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001726/0.001726, allocations: 191 kB / 18.63 MB, free: 4.375 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.606/1.606, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.465/1.465, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.001531, allocations: 59.91 kB / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7741, allocations: 80.69 MB / 0.5725 GB, free: 43.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002829/0.777, allocations: 1.375 MB / 0.5739 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.7783, allocations: 0.5213 MB / 0.5744 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.7784, allocations: 0 / 0.5744 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.7786, allocations: 13.36 kB / 0.5744 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.779, allocations: 50.86 kB / 0.5744 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.7792, allocations: 41.61 kB / 0.5745 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.7796, allocations: 190.8 kB / 0.5747 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.7797, allocations: 4.281 kB / 0.5747 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.7799, allocations: 89.16 kB / 0.5748 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.7801, allocations: 95.3 kB / 0.5749 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.7802, allocations: 8.812 kB / 0.5749 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.7803, allocations: 30.61 kB / 0.5749 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.7805, allocations: 69.98 kB / 0.575 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.7806, allocations: 71 kB / 0.575 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.7809, allocations: 133.7 kB / 0.5752 GB, free: 41.97 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7809, allocations: 4 kB / 0.5752 GB, free: 41.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7809, allocations: 0 / 0.5752 GB, free: 41.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.7809, allocations: 1.312 kB / 0.5752 GB, free: 41.96 MB / 462.3 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.0009403/0.7819, allocations: 485.1 kB / 0.5756 GB, free: 41.52 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.7819, allocations: 13.14 kB / 0.5756 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.782, allocations: 16.62 kB / 0.5756 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.7822, allocations: 216.3 kB / 0.5759 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.7823, allocations: 8.766 kB / 0.5759 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.7823, allocations: 21.16 kB / 0.5759 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.7826, allocations: 174 kB / 0.576 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.7827, allocations: 0 / 0.576 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.7827, allocations: 5.375 kB / 0.5761 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.7827, allocations: 2.75 kB / 0.5761 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.783, allocations: 152.7 kB / 0.5762 GB, free: 41.08 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.7833, allocations: 283.3 kB / 0.5765 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/0.7842, allocations: 346.5 kB / 0.5768 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.7843, allocations: 128.3 kB / 0.5769 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.7845, allocations: 91.77 kB / 0.577 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.7845, allocations: 36.03 kB / 0.577 GB, free: 40.45 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.7845, allocations: 0 / 0.577 GB, free: 40.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006172/0.7852, allocations: 381.5 kB / 0.5774 GB, free: 40.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.7852, allocations: 54.16 kB / 0.5775 GB, free: 40.2 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.7853, allocations: 131.7 kB / 0.5776 GB, free: 40.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.7853, allocations: 39.02 kB / 0.5776 GB, free: 40.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.7854, allocations: 91.45 kB / 0.5777 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.7854, allocations: 112.2 kB / 0.5778 GB, free: 39.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.7855, allocations: 59.56 kB / 0.5779 GB, free: 39.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.7856, allocations: 335.4 kB / 0.5782 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.7858, allocations: 124.3 kB / 0.5783 GB, free: 39.43 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.786, allocations: 131.8 kB / 0.5784 GB, free: 39.37 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.7865, allocations: 280.3 kB / 0.5787 GB, free: 39.24 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7865, allocations: 0 / 0.5787 GB, free: 39.24 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006051/0.7871, allocations: 352.7 kB / 0.579 GB, free: 39.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.7871, allocations: 7.094 kB / 0.579 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.7871, allocations: 1.375 kB / 0.5791 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.7872, allocations: 1.375 kB / 0.5791 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.7875, allocations: 79.02 kB / 0.5791 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.7876, allocations: 1.375 kB / 0.5791 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.7877, allocations: 23.81 kB / 0.5792 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.7877, allocations: 10.88 kB / 0.5792 GB, free: 39.03 MB / 462.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.7879, allocations: 141.7 kB / 0.5793 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.7879, allocations: 11.28 kB / 0.5793 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007372/0.7887, allocations: 410 kB / 0.5797 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.7887, allocations: 4.625 kB / 0.5797 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7887, allocations: 0 / 0.5797 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7887, allocations: 3.984 kB / 0.5797 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.789, allocations: 318 kB / 0.58 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.789, allocations: 4.922 kB / 0.58 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.7895, allocations: 83.08 kB / 0.5801 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.7895, allocations: 1.844 kB / 0.5801 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.7895, allocations: 17.52 kB / 0.5801 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.7895, allocations: 1.844 kB / 0.5801 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7895, allocations: 0 / 0.5801 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.7904, allocations: 0.5217 MB / 0.5806 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.7905, allocations: 129.3 kB / 0.5807 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.7906, allocations: 7.75 kB / 0.5808 GB, free: 37.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.7907, allocations: 6.531 kB / 0.5808 GB, free: 37.92 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.7908, allocations: 27.44 kB / 0.5808 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.7908, allocations: 11.5 kB / 0.5808 GB, free: 37.9 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.933e-05/0.7909, allocations: 102.5 kB / 0.5809 GB, free: 37.81 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7909, allocations: 0 / 0.5809 GB, free: 37.81 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003507/0.7913, allocations: 68.81 kB / 0.581 GB, free: 37.8 MB / 462.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 (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.0002175/0.7915, allocations: 119.9 kB / 0.5811 GB, free: 37.7 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005455/0.792, allocations: 308.6 kB / 0.5814 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.792, allocations: 0 / 0.5814 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.7923, allocations: 170 kB / 0.5815 GB, free: 37.51 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.7926, allocations: 36.42 kB / 0.5816 GB, free: 37.48 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.7938, allocations: 0.8431 MB / 0.5824 GB, free: 36.88 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.794, allocations: 0.7562 MB / 0.5831 GB, free: 36.15 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000183/0.7942, allocations: 91.16 kB / 0.5832 GB, free: 36.11 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.7943, allocations: 26.03 kB / 0.5832 GB, free: 36.11 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.7943, allocations: 4 kB / 0.5832 GB, free: 36.1 MB / 462.3 MB Notification: Performance of Templates: time 0.007215/0.8015, allocations: 2.978 MB / 0.5862 GB, free: 34.66 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches