Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 181.5 kB / 8.132 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.075/1.075, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.0009951, allocations: 99.08 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6251/0.6251, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.22e-06, allocations: 0 / 0.5289 GB, free: 51.74 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 82.85 MB / 0.6098 GB, free: 2.824 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.565, allocations: 125.1 MB / 0.732 GB, free: 4.047 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000153/0.5652, allocations: 67.55 kB / 0.7321 GB, free: 4.02 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03643/0.6016, allocations: 12.37 MB / 0.7441 GB, free: 9.027 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.6017, allocations: 16 kB / 0.7442 GB, free: 9.012 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003069/0.6047, allocations: 1.477 MB / 0.7456 GB, free: 7.535 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6048, allocations: 8.031 kB / 0.7456 GB, free: 7.527 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.605, allocations: 83.06 kB / 0.7457 GB, free: 7.445 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.6064, allocations: 0.8403 MB / 0.7465 GB, free: 6.578 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.6065, allocations: 24 kB / 0.7465 GB, free: 6.555 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.6066, allocations: 85.7 kB / 0.7466 GB, free: 6.48 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001572/0.6082, allocations: 1.245 MB / 0.7478 GB, free: 5.465 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.6097, allocations: 1.051 MB / 0.7489 GB, free: 4.613 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6097, allocations: 0 / 0.7489 GB, free: 4.613 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/0.6098, allocations: 4 kB / 0.7489 GB, free: 4.609 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.6098, allocations: 20 kB / 0.7489 GB, free: 4.59 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.6111, allocations: 0.9828 MB / 0.7498 GB, free: 3.734 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/0.6155, allocations: 2.302 MB / 0.7521 GB, free: 1.863 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009981/0.6165, allocations: 0.84 MB / 0.7529 GB, free: 1.258 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.6168, allocations: 134.3 kB / 0.753 GB, free: 1.109 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6168, allocations: 62.47 kB / 0.7531 GB, free: 1.055 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=203): time 2.805e-06/0.6168, allocations: 0 / 0.7531 GB, free: 1.055 MB / 0.5109 GB Notification: Performance of matching and sorting (n=203): time 0.00473/0.6216, allocations: 2.296 MB / 0.7553 GB, free: 15.12 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.6216, allocations: 73.41 kB / 0.7554 GB, free: 15.04 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.6218, allocations: 197.5 kB / 0.7556 GB, free: 14.87 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/0.6219, allocations: 25.7 kB / 0.7556 GB, free: 14.84 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.6219, allocations: 102.3 kB / 0.7557 GB, free: 14.74 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/0.6224, allocations: 0.7524 MB / 0.7565 GB, free: 14.08 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.6225, allocations: 0 / 0.7565 GB, free: 14.08 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6226, allocations: 417.3 kB / 0.7569 GB, free: 13.7 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.6238, allocations: 0.944 MB / 0.7578 GB, free: 13 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.625, allocations: 0.9489 MB / 0.7587 GB, free: 12.28 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/0.6287, allocations: 1.606 MB / 0.7603 GB, free: 10.93 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.6287, allocations: 0 / 0.7603 GB, free: 10.93 MB / 0.5265 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005377/0.6341, allocations: 2.895 MB / 0.7631 GB, free: 8.496 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.6341, allocations: 8 kB / 0.7631 GB, free: 8.488 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6341, allocations: 0 / 0.7631 GB, free: 8.488 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.6341, allocations: 8 kB / 0.7631 GB, free: 8.48 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/0.6375, allocations: 0.5528 MB / 0.7637 GB, free: 7.945 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.6376, allocations: 8 kB / 0.7637 GB, free: 7.938 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.6382, allocations: 102.2 kB / 0.7638 GB, free: 7.836 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.6384, allocations: 79.41 kB / 0.7638 GB, free: 7.773 MB / 0.5265 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 284 * 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.0002469/0.6386, allocations: 128.5 kB / 0.764 GB, free: 7.641 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.6388, allocations: 86.97 kB / 0.764 GB, free: 7.555 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006109/0.6449, allocations: 3.089 MB / 0.7671 GB, free: 5.027 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.645, allocations: 28 kB / 0.7671 GB, free: 5 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.645, allocations: 0 / 0.7671 GB, free: 5 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/0.645, allocations: 15.94 kB / 0.7671 GB, free: 4.984 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.6464, allocations: 1.194 MB / 0.7683 GB, free: 3.953 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6464, allocations: 0 / 0.7683 GB, free: 3.953 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004254/0.6507, allocations: 0.6102 MB / 0.7689 GB, free: 3.363 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.6507, allocations: 15.98 kB / 0.7689 GB, free: 3.348 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.6509, allocations: 70.05 kB / 0.7689 GB, free: 3.289 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.6509, allocations: 8 kB / 0.769 GB, free: 3.281 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6509, allocations: 3.938 kB / 0.769 GB, free: 3.277 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006407/0.6573, allocations: 3.951 MB / 0.7728 GB, free: 96 kB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.6579, allocations: 402.5 kB / 0.7732 GB, free: 15.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.6581, allocations: 39.95 kB / 0.7732 GB, free: 15.66 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/0.6588, allocations: 0 / 0.7732 GB, free: 15.66 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.659, allocations: 143.3 kB / 0.7734 GB, free: 15.54 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.6592, allocations: 85.5 kB / 0.7735 GB, free: 15.47 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0001021/0.6593, allocations: 159.9 kB / 0.7736 GB, free: 15.34 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007029/0.66, allocations: 368 kB / 0.774 GB, free: 14.98 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 284 * 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.0002923/0.6603, allocations: 176.2 kB / 0.7741 GB, free: 14.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.663, allocations: 2.257 MB / 0.7763 GB, free: 13.04 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.663, allocations: 0 / 0.7763 GB, free: 13.04 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.6643, allocations: 1.23 MB / 0.7775 GB, free: 12.09 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.6649, allocations: 102.9 kB / 0.7776 GB, free: 12.02 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/0.6716, allocations: 5.382 MB / 0.7829 GB, free: 6.766 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.6729, allocations: 1.349 MB / 0.7842 GB, free: 5.414 MB / 0.5421 GB Notification: Performance of SimCode: time 2.9e-07/0.6729, allocations: 0 / 0.7842 GB, free: 5.414 MB / 0.5421 GB Notification: Performance of Templates: time 0.02744/0.7003, allocations: 20.24 MB / 0.804 GB, free: 1.207 MB / 0.5578 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches