Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008963/0.0008965, allocations: 88.72 kB / 16.31 MB, free: 5.684 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.00107/0.00107, allocations: 182.8 kB / 17.21 MB, free: 5.602 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.237/1.237, allocations: 223.3 MB / 241.2 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.853/0.853, allocations: 120.5 MB / 412.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 8 kB / 0.4956 GB, free: 10.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4579, allocations: 82.84 MB / 0.5765 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001045/0.4589, allocations: 1.089 MB / 0.5775 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000598/0.4596, allocations: 489.5 kB / 0.578 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.4596, allocations: 1.656 kB / 0.578 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.104e-05/0.4597, allocations: 7.922 kB / 0.578 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.4599, allocations: 59.08 kB / 0.5781 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 6.922e-05/0.46, allocations: 33.41 kB / 0.5781 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.4602, allocations: 307.2 kB / 0.5784 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.4603, allocations: 4.312 kB / 0.5784 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.4604, allocations: 112.4 kB / 0.5785 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.4607, allocations: 171.4 kB / 0.5787 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.4608, allocations: 15.12 kB / 0.5787 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.4609, allocations: 46.03 kB / 0.5787 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.461, allocations: 122.6 kB / 0.5788 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.4611, allocations: 65.05 kB / 0.5789 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.4612, allocations: 155 kB / 0.579 GB, free: 40.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4612, allocations: 0 / 0.579 GB, free: 40.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4612, allocations: 0.9062 kB / 0.579 GB, free: 40.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4613, allocations: 4 kB / 0.579 GB, free: 40.57 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008783/0.4621, allocations: 0.5672 MB / 0.5796 GB, free: 40.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4622, allocations: 9.219 kB / 0.5796 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.4622, allocations: 28.58 kB / 0.5796 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.4625, allocations: 247.2 kB / 0.5799 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4625, allocations: 12.75 kB / 0.5799 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.4626, allocations: 33.44 kB / 0.5799 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.463, allocations: 314.4 kB / 0.5802 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.4631, allocations: 0 / 0.5802 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.4631, allocations: 6.75 kB / 0.5802 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.4631, allocations: 4.625 kB / 0.5802 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.4635, allocations: 296.7 kB / 0.5805 GB, free: 39.49 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.4639, allocations: 399.7 kB / 0.5809 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.4654, allocations: 0.6733 MB / 0.5816 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.4657, allocations: 236.8 kB / 0.5818 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.4659, allocations: 90.34 kB / 0.5819 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.4659, allocations: 41.52 kB / 0.5819 GB, free: 38.6 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.593e-06/0.4659, allocations: 0 / 0.5819 GB, free: 38.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001109/0.467, allocations: 0.6996 MB / 0.5826 GB, free: 38.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.4671, allocations: 61.31 kB / 0.5826 GB, free: 38.2 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.4672, allocations: 145.8 kB / 0.5828 GB, free: 38.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.4672, allocations: 35.89 kB / 0.5828 GB, free: 38.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.4672, allocations: 96.56 kB / 0.5829 GB, free: 37.94 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.4674, allocations: 207.2 kB / 0.5831 GB, free: 37.76 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.4674, allocations: 14.16 kB / 0.5831 GB, free: 37.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.4674, allocations: 347.7 kB / 0.5835 GB, free: 37.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.4678, allocations: 239.3 kB / 0.5837 GB, free: 37.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.4681, allocations: 244.1 kB / 0.5839 GB, free: 37.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.4685, allocations: 283.5 kB / 0.5842 GB, free: 37.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4685, allocations: 0 / 0.5842 GB, free: 37.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000855/0.4694, allocations: 0.6392 MB / 0.5848 GB, free: 36.77 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4694, allocations: 8.844 kB / 0.5848 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4694, allocations: 0 / 0.5848 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4694, allocations: 2.531 kB / 0.5848 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.4699, allocations: 138.3 kB / 0.585 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.47, allocations: 10.88 kB / 0.585 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.4701, allocations: 43.25 kB / 0.585 GB, free: 36.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.4702, allocations: 26.27 kB / 0.585 GB, free: 36.69 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 (74): * Single equations (assignments): 74 * 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.0001284/0.4703, allocations: 158 kB / 0.5852 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.4704, allocations: 24.31 kB / 0.5852 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4715, allocations: 0.7227 MB / 0.5859 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.4715, allocations: 7.562 kB / 0.5859 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4715, allocations: 4 kB / 0.5859 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4715, allocations: 9.188 kB / 0.5859 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.4719, allocations: 465.9 kB / 0.5864 GB, free: 35.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4719, allocations: 1.281 kB / 0.5864 GB, free: 35.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.4726, allocations: 154.2 kB / 0.5865 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4726, allocations: 4 kB / 0.5865 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.4726, allocations: 27.97 kB / 0.5865 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4726, allocations: 0 / 0.5865 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4726, allocations: 0 / 0.5865 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.4737, allocations: 0.9715 MB / 0.5875 GB, free: 34.61 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.4739, allocations: 168.5 kB / 0.5877 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.4739, allocations: 19.98 kB / 0.5877 GB, free: 34.4 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.4741, allocations: 19.94 kB / 0.5877 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.4742, allocations: 40.59 kB / 0.5877 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.4742, allocations: 23.98 kB / 0.5878 GB, free: 34.32 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.82e-05/0.4742, allocations: 105.7 kB / 0.5879 GB, free: 34.21 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4743, allocations: 0 / 0.5879 GB, free: 34.21 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003113/0.4746, allocations: 131.9 kB / 0.588 GB, free: 34.09 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.000138/0.4747, allocations: 123.7 kB / 0.5881 GB, free: 33.96 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006627/0.4754, allocations: 0.5833 MB / 0.5887 GB, free: 33.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4754, allocations: 0 / 0.5887 GB, free: 33.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.4757, allocations: 327.5 kB / 0.589 GB, free: 33.05 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.476, allocations: 63.95 kB / 0.589 GB, free: 32.99 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.4778, allocations: 1.78 MB / 0.5908 GB, free: 31.19 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.478, allocations: 0.8093 MB / 0.5916 GB, free: 30.35 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.4784, allocations: 171.1 kB / 0.5917 GB, free: 30.19 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.4785, allocations: 51.42 kB / 0.5918 GB, free: 30.14 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4785, allocations: 0 / 0.5918 GB, free: 30.14 MB / 462.3 MB Notification: Performance of Templates: time 0.006766/0.4853, allocations: 4.681 MB / 0.5964 GB, free: 25.49 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches