Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110.1 kB / 17.28 MB, free: 6.219 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.001264/0.001264, allocations: 197.9 kB / 18.21 MB, free: 5.289 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.258/1.258, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8767/0.8767, allocations: 119.3 MB / 411.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 0.4924 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5013, allocations: 80.69 MB / 0.5712 GB, free: 43.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002113/0.5035, allocations: 1.447 MB / 0.5726 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006662/0.5042, allocations: 0.5107 MB / 0.5731 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.5042, allocations: 0 / 0.5731 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.841e-05/0.5043, allocations: 9.266 kB / 0.5731 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.5045, allocations: 46.91 kB / 0.5732 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.027e-05/0.5046, allocations: 37.42 kB / 0.5732 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.505, allocations: 0.5449 MB / 0.5738 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.5051, allocations: 7.312 kB / 0.5738 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.5053, allocations: 201.5 kB / 0.574 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.5056, allocations: 304.7 kB / 0.5742 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.5057, allocations: 29.06 kB / 0.5743 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.5058, allocations: 49.27 kB / 0.5743 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.506, allocations: 245.1 kB / 0.5745 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.5062, allocations: 232 kB / 0.5748 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.5065, allocations: 291.6 kB / 0.575 GB, free: 41.28 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5065, allocations: 1.219 kB / 0.5751 GB, free: 41.28 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5065, allocations: 0 / 0.5751 GB, free: 41.28 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.5065, allocations: 0 / 0.5751 GB, free: 41.28 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001551/0.508, allocations: 0.8134 MB / 0.5758 GB, free: 40.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5081, allocations: 12.83 kB / 0.5759 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.5082, allocations: 48.03 kB / 0.5759 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.5085, allocations: 326.3 kB / 0.5762 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.5086, allocations: 30.59 kB / 0.5762 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.5087, allocations: 68.3 kB / 0.5763 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008325/0.5095, allocations: 0.5825 MB / 0.5769 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5095, allocations: 0 / 0.5769 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.5096, allocations: 14.75 kB / 0.5769 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5096, allocations: 15 kB / 0.5769 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008402/0.5105, allocations: 0.5851 MB / 0.5775 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.5112, allocations: 0.6223 MB / 0.5781 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.5144, allocations: 1.368 MB / 0.5794 GB, free: 38.63 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.515, allocations: 456.5 kB / 0.5799 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.5152, allocations: 107.9 kB / 0.58 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.5152, allocations: 43.38 kB / 0.58 GB, free: 38.27 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.114e-06/0.5152, allocations: 0 / 0.58 GB, free: 38.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.002044/0.5173, allocations: 1.347 MB / 0.5813 GB, free: 37.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.5173, allocations: 62.09 kB / 0.5814 GB, free: 37.6 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.5174, allocations: 185.6 kB / 0.5816 GB, free: 37.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.5175, allocations: 41.05 kB / 0.5816 GB, free: 37.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.5175, allocations: 103.7 kB / 0.5817 GB, free: 37.32 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.5178, allocations: 410.9 kB / 0.5821 GB, free: 36.96 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.518, allocations: 195.5 kB / 0.5823 GB, free: 36.85 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.5181, allocations: 367 kB / 0.5826 GB, free: 36.5 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.5188, allocations: 471.9 kB / 0.5831 GB, free: 36.29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/0.5194, allocations: 493.6 kB / 0.5835 GB, free: 36.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.5209, allocations: 1.037 MB / 0.5846 GB, free: 35.59 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5209, allocations: 1.906 kB / 0.5846 GB, free: 35.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001553/0.5224, allocations: 1.244 MB / 0.5858 GB, free: 34.54 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5225, allocations: 4 kB / 0.5858 GB, free: 34.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5225, allocations: 8 kB / 0.5858 GB, free: 34.53 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5225, allocations: 4 kB / 0.5858 GB, free: 34.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/0.5234, allocations: 271.7 kB / 0.586 GB, free: 34.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5235, allocations: 4 kB / 0.586 GB, free: 34.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.5238, allocations: 79.06 kB / 0.5861 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.5239, allocations: 39.98 kB / 0.5862 GB, free: 34.14 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 (144): * Single equations (assignments): 144 * 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.0001967/0.5241, allocations: 213.5 kB / 0.5864 GB, free: 33.92 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.5242, allocations: 43.53 kB / 0.5864 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.526, allocations: 1.392 MB / 0.5878 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.526, allocations: 16 kB / 0.5878 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.526, allocations: 0 / 0.5878 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.526, allocations: 3.984 kB / 0.5878 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.5267, allocations: 0.7465 MB / 0.5885 GB, free: 31.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5267, allocations: 0 / 0.5885 GB, free: 31.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.528, allocations: 311.6 kB / 0.5888 GB, free: 31.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.528, allocations: 4 kB / 0.5888 GB, free: 31.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.5281, allocations: 55.95 kB / 0.5889 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5281, allocations: 4 kB / 0.5889 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5281, allocations: 0 / 0.5889 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.5302, allocations: 1.846 MB / 0.5907 GB, free: 29.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.5305, allocations: 248 kB / 0.5909 GB, free: 29.17 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5306, allocations: 47.91 kB / 0.591 GB, free: 29.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.5309, allocations: 28 kB / 0.591 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.531, allocations: 89.14 kB / 0.5911 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.5311, allocations: 39.98 kB / 0.5911 GB, free: 28.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 7.897e-05/0.5312, allocations: 128.3 kB / 0.5912 GB, free: 28.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5312, allocations: 0 / 0.5912 GB, free: 28.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000455/0.5317, allocations: 236 kB / 0.5915 GB, free: 28.61 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0002017/0.5319, allocations: 151.8 kB / 0.5916 GB, free: 28.45 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.5346, allocations: 2.092 MB / 0.5936 GB, free: 26.36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5346, allocations: 0 / 0.5936 GB, free: 26.36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.5353, allocations: 0.6397 MB / 0.5943 GB, free: 25.72 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.5357, allocations: 106.1 kB / 0.5944 GB, free: 25.62 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.5389, allocations: 3.091 MB / 0.5974 GB, free: 22.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.5391, allocations: 0.9275 MB / 0.5983 GB, free: 21.54 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.5394, allocations: 91.41 kB / 0.5984 GB, free: 21.45 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.5395, allocations: 0 / 0.5984 GB, free: 21.45 MB / 462.3 MB Notification: Performance of Templates: time 0.009968/0.5494, allocations: 9.481 MB / 0.6076 GB, free: 11.98 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches