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.001247/0.001247, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.001267/0.001267, allocations: 187.3 kB / 18.51 MB, free: 4.527 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.276/1.276, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8706/0.8706, allocations: 119.3 MB / 411.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.88 kB / 0.493 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4295, allocations: 80.68 MB / 0.5718 GB, free: 43.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00209/0.4317, allocations: 1.382 MB / 0.5731 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.4324, allocations: 0.5164 MB / 0.5736 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.4325, allocations: 1.219 kB / 0.5736 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.038e-05/0.4325, allocations: 7.922 kB / 0.5736 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.4328, allocations: 50.83 kB / 0.5737 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.558e-05/0.4329, allocations: 42.36 kB / 0.5737 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.4333, allocations: 0.549 MB / 0.5742 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.4333, allocations: 5.562 kB / 0.5742 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.4335, allocations: 203 kB / 0.5744 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.4338, allocations: 292.4 kB / 0.5747 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.4339, allocations: 30.22 kB / 0.5747 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.4341, allocations: 48.7 kB / 0.5748 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.4343, allocations: 241.4 kB / 0.575 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.4345, allocations: 232 kB / 0.5752 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.4348, allocations: 439.4 kB / 0.5757 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4348, allocations: 0.9688 kB / 0.5757 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4348, allocations: 0 / 0.5757 GB, free: 41.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4349, allocations: 0 / 0.5757 GB, free: 41.09 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.001478/0.4363, allocations: 0.8143 MB / 0.5765 GB, free: 40.47 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4364, allocations: 12.89 kB / 0.5765 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4365, allocations: 50.81 kB / 0.5765 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.4368, allocations: 331.7 kB / 0.5768 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.4368, allocations: 29.31 kB / 0.5769 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-05/0.4369, allocations: 68.86 kB / 0.5769 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.4377, allocations: 0.5782 MB / 0.5775 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4377, allocations: 0 / 0.5775 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.4378, allocations: 28.36 kB / 0.5775 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4378, allocations: 9.781 kB / 0.5775 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007581/0.4386, allocations: 0.5824 MB / 0.5781 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000692/0.4393, allocations: 0.6177 MB / 0.5787 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.4422, allocations: 1.36 MB / 0.58 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/0.4428, allocations: 460.4 kB / 0.5805 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.443, allocations: 104 kB / 0.5806 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.443, allocations: 39.34 kB / 0.5806 GB, free: 38.08 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.083e-06/0.443, allocations: 0 / 0.5806 GB, free: 38.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001928/0.445, allocations: 1.347 MB / 0.5819 GB, free: 37.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.445, allocations: 62.03 kB / 0.582 GB, free: 37.42 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4452, allocations: 180.8 kB / 0.5822 GB, free: 37.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.4452, allocations: 41.39 kB / 0.5822 GB, free: 37.24 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.4453, allocations: 103.7 kB / 0.5823 GB, free: 37.14 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.4455, allocations: 407.4 kB / 0.5827 GB, free: 36.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.4457, allocations: 194.6 kB / 0.5829 GB, free: 36.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.4458, allocations: 367.3 kB / 0.5832 GB, free: 36.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.4464, allocations: 483.5 kB / 0.5837 GB, free: 36.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.4471, allocations: 489.2 kB / 0.5841 GB, free: 35.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.4484, allocations: 1.038 MB / 0.5852 GB, free: 35.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4484, allocations: 0 / 0.5852 GB, free: 35.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001433/0.4498, allocations: 1.243 MB / 0.5864 GB, free: 34.31 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4498, allocations: 4 kB / 0.5864 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4499, allocations: 0 / 0.5864 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4499, allocations: 7.938 kB / 0.5864 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009006/0.4508, allocations: 275.6 kB / 0.5866 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4508, allocations: 11.98 kB / 0.5867 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.4512, allocations: 79.06 kB / 0.5867 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.4512, allocations: 39.92 kB / 0.5868 GB, free: 33.9 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.0001838/0.4514, allocations: 209.5 kB / 0.587 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.4515, allocations: 47.52 kB / 0.587 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.4532, allocations: 1.396 MB / 0.5884 GB, free: 32.23 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.4532, allocations: 16 kB / 0.5884 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4532, allocations: 0 / 0.5884 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4533, allocations: 3.984 kB / 0.5884 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.4539, allocations: 0.7438 MB / 0.5891 GB, free: 31.42 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.4539, allocations: 7.984 kB / 0.5891 GB, free: 31.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.4552, allocations: 299.7 kB / 0.5894 GB, free: 31.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.4552, allocations: 7.938 kB / 0.5894 GB, free: 31.11 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.4553, allocations: 51.95 kB / 0.5895 GB, free: 31.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.4553, allocations: 8 kB / 0.5895 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4553, allocations: 0 / 0.5895 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.4572, allocations: 1.854 MB / 0.5913 GB, free: 29.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.4575, allocations: 248 kB / 0.5915 GB, free: 28.92 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.4576, allocations: 43.97 kB / 0.5916 GB, free: 28.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.4579, allocations: 20 kB / 0.5916 GB, free: 28.86 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.458, allocations: 81.2 kB / 0.5917 GB, free: 28.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.4581, allocations: 43.98 kB / 0.5917 GB, free: 28.73 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.287e-05/0.4581, allocations: 136.3 kB / 0.5918 GB, free: 28.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4582, allocations: 0 / 0.5918 GB, free: 28.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004136/0.4586, allocations: 236 kB / 0.5921 GB, free: 28.37 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.0001893/0.4588, allocations: 159 kB / 0.5922 GB, free: 28.2 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.4613, allocations: 2.088 MB / 0.5943 GB, free: 26.11 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4613, allocations: 0 / 0.5943 GB, free: 26.11 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006288/0.462, allocations: 0.6358 MB / 0.5949 GB, free: 25.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.4624, allocations: 108.8 kB / 0.595 GB, free: 25.38 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.4654, allocations: 2.873 MB / 0.5978 GB, free: 22.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.4657, allocations: 0.9232 MB / 0.5987 GB, free: 21.52 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.466, allocations: 95.41 kB / 0.5988 GB, free: 21.42 MB / 462.3 MB Notification: Performance of SimCode: time 3.31e-07/0.466, allocations: 4 kB / 0.5988 GB, free: 21.42 MB / 462.3 MB Notification: Performance of Templates: time 0.00962/0.4756, allocations: 9.485 MB / 0.608 GB, free: 11.95 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches