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/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_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") [: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.0009845/0.0009847, allocations: 191.6 kB / 8.138 MB, free: 2.184 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.14/1.14, allocations: 221.4 MB / 229.9 MB, free: 3.055 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.0009921/0.0009917, allocations: 106.3 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7613/0.7613, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.712e-06/6.732e-06, allocations: 0 / 0.5289 GB, free: 51.78 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 82.84 MB / 0.6098 GB, free: 2.828 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6752/0.8289, allocations: 125.1 MB / 0.732 GB, free: 4.32 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.8292, allocations: 68.77 kB / 0.7321 GB, free: 4.297 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02017/0.8494, allocations: 6.606 MB / 0.7385 GB, free: 14.58 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.8495, allocations: 8 kB / 0.7385 GB, free: 14.57 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001693/0.8512, allocations: 0.8203 MB / 0.7393 GB, free: 13.74 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.8512, allocations: 8.031 kB / 0.7393 GB, free: 13.73 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.8513, allocations: 47.44 kB / 0.7394 GB, free: 13.68 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007263/0.8521, allocations: 444.8 kB / 0.7398 GB, free: 13.22 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.8521, allocations: 12 kB / 0.7398 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.8522, allocations: 47.2 kB / 0.7399 GB, free: 13.17 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009319/0.8531, allocations: 0.5717 MB / 0.7404 GB, free: 12.71 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.854, allocations: 0.5387 MB / 0.7409 GB, free: 12.26 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.854, allocations: 4 kB / 0.7409 GB, free: 12.26 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.8541, allocations: 0 / 0.7409 GB, free: 12.26 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.8541, allocations: 8 kB / 0.7409 GB, free: 12.25 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008253/0.855, allocations: 0.5527 MB / 0.7415 GB, free: 11.74 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.8574, allocations: 1.132 MB / 0.7426 GB, free: 10.81 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005801/0.858, allocations: 433.4 kB / 0.743 GB, free: 10.5 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.8583, allocations: 109.2 kB / 0.7431 GB, free: 10.38 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.8583, allocations: 46.97 kB / 0.7432 GB, free: 10.33 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=103): time 2.144e-06/0.8583, allocations: 0 / 0.7432 GB, free: 10.33 MB / 0.5109 GB Notification: Performance of matching and sorting (n=103): time 0.002747/0.8611, allocations: 1.172 MB / 0.7443 GB, free: 9.336 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.8611, allocations: 60.41 kB / 0.7444 GB, free: 9.266 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.8613, allocations: 151.7 kB / 0.7445 GB, free: 9.125 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.8614, allocations: 25.7 kB / 0.7445 GB, free: 9.094 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.8614, allocations: 93.88 kB / 0.7446 GB, free: 9.004 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.8618, allocations: 391.5 kB / 0.745 GB, free: 8.672 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.8618, allocations: 0 / 0.745 GB, free: 8.672 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.862, allocations: 365.9 kB / 0.7453 GB, free: 8.328 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006725/0.8627, allocations: 482.4 kB / 0.7458 GB, free: 7.977 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.8633, allocations: 490.8 kB / 0.7463 GB, free: 7.617 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.8654, allocations: 0.8073 MB / 0.7471 GB, free: 6.941 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8654, allocations: 0 / 0.7471 GB, free: 6.941 MB / 0.5109 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002997/0.8684, allocations: 1.48 MB / 0.7485 GB, free: 5.711 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.8684, allocations: 4 kB / 0.7485 GB, free: 5.707 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.8684, allocations: 3.984 kB / 0.7485 GB, free: 5.703 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.8685, allocations: 12 kB / 0.7485 GB, free: 5.691 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.8701, allocations: 281.3 kB / 0.7488 GB, free: 5.426 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.8701, allocations: 4 kB / 0.7488 GB, free: 5.422 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.8705, allocations: 55.06 kB / 0.7488 GB, free: 5.367 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.8707, allocations: 41.11 kB / 0.7489 GB, free: 5.336 MB / 0.5109 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 (144): * Single equations (assignments): 144 * 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.0002092/0.8709, allocations: 112.8 kB / 0.749 GB, free: 5.219 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.871, allocations: 47.44 kB / 0.749 GB, free: 5.172 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.8745, allocations: 1.579 MB / 0.7506 GB, free: 3.895 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.8746, allocations: 16 kB / 0.7506 GB, free: 3.879 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.8746, allocations: 0 / 0.7506 GB, free: 3.879 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.8746, allocations: 11.88 kB / 0.7506 GB, free: 3.867 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/0.8756, allocations: 0.6552 MB / 0.7512 GB, free: 3.273 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.8756, allocations: 0 / 0.7512 GB, free: 3.273 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/0.8777, allocations: 322.5 kB / 0.7516 GB, free: 2.969 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/0.8777, allocations: 11.92 kB / 0.7516 GB, free: 2.957 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.8778, allocations: 38.78 kB / 0.7516 GB, free: 2.926 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.8778, allocations: 4 kB / 0.7516 GB, free: 2.922 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8778, allocations: 3.938 kB / 0.7516 GB, free: 2.918 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003616/0.8814, allocations: 2.02 MB / 0.7536 GB, free: 1.289 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.8818, allocations: 244 kB / 0.7538 GB, free: 1.043 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.8819, allocations: 24.91 kB / 0.7538 GB, free: 1.02 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.8823, allocations: 0 / 0.7538 GB, free: 1.02 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.8824, allocations: 75.69 kB / 0.7539 GB, free: 0.9531 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/0.8825, allocations: 38.8 kB / 0.7539 GB, free: 0.9219 MB / 0.5109 GB Notification: Performance of sort global known variables: time 9.115e-05/0.8826, allocations: 129.9 kB / 0.7541 GB, free: 0.8086 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0005758/0.8832, allocations: 192 kB / 0.7543 GB, free: 0.6211 MB / 0.5109 GB 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 () * 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 (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.000244/0.8835, allocations: 142.6 kB / 0.7544 GB, free: 488 kB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.885, allocations: 1.133 MB / 0.7555 GB, free: 15.6 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.885, allocations: 0 / 0.7555 GB, free: 15.6 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0007486/0.8858, allocations: 0.6196 MB / 0.7561 GB, free: 15.12 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.8861, allocations: 60.75 kB / 0.7562 GB, free: 15.08 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.8902, allocations: 2.735 MB / 0.7588 GB, free: 12.39 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/0.8912, allocations: 1.03 MB / 0.7598 GB, free: 11.35 MB / 0.5265 GB Notification: Performance of SimCode: time 6.71e-07/0.8912, allocations: 0 / 0.7598 GB, free: 11.35 MB / 0.5265 GB Notification: Performance of Templates: time 0.01844/0.9096, allocations: 10.43 MB / 0.77 GB, free: 0.9609 MB / 0.5265 GB 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