Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [: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.0009799/0.0009801, allocations: 190.1 kB / 8.139 MB, free: 2.215 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.159/1.159, allocations: 221.4 MB / 229.9 MB, free: 3.004 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.000869/0.000869, allocations: 95.09 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8011/0.8011, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.072e-06/6.092e-06, allocations: 0 / 0.5289 GB, free: 51.79 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1476, allocations: 82.85 MB / 0.6098 GB, free: 2.812 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6724/0.8201, allocations: 125.1 MB / 0.732 GB, free: 4.008 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.8203, allocations: 68.86 kB / 0.7321 GB, free: 3.984 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01226/0.8326, allocations: 3.848 MB / 0.7358 GB, free: 0.7891 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.8327, allocations: 4 kB / 0.7358 GB, free: 0.7852 MB / 0.4953 GB 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.0009198/0.8337, allocations: 0.5612 MB / 0.7364 GB, free: 192 kB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8337, allocations: 12.03 kB / 0.7364 GB, free: 180 kB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.8338, allocations: 27.72 kB / 0.7364 GB, free: 152 kB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.8343, allocations: 282.5 kB / 0.7367 GB, free: 15.83 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.8343, allocations: 7.906 kB / 0.7367 GB, free: 15.82 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.8344, allocations: 23.48 kB / 0.7367 GB, free: 15.8 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004656/0.8348, allocations: 287.8 kB / 0.737 GB, free: 15.58 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.8353, allocations: 294.5 kB / 0.7373 GB, free: 15.34 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.8353, allocations: 3.938 kB / 0.7373 GB, free: 15.33 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.8353, allocations: 0 / 0.7373 GB, free: 15.33 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.8353, allocations: 4 kB / 0.7373 GB, free: 15.33 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.8358, allocations: 356.9 kB / 0.7376 GB, free: 14.99 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.8371, allocations: 0.5744 MB / 0.7382 GB, free: 14.52 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.8374, allocations: 227.6 kB / 0.7384 GB, free: 14.35 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.8376, allocations: 98.36 kB / 0.7385 GB, free: 14.24 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.8376, allocations: 42.22 kB / 0.7385 GB, free: 14.19 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.8376, allocations: 0 / 0.7385 GB, free: 14.19 MB / 0.5109 GB Notification: Performance of matching and sorting (n=53): time 0.001494/0.8391, allocations: 0.6037 MB / 0.7391 GB, free: 13.67 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.8392, allocations: 59.84 kB / 0.7392 GB, free: 13.6 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.8393, allocations: 124.7 kB / 0.7393 GB, free: 13.48 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.8393, allocations: 25.7 kB / 0.7393 GB, free: 13.45 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.8394, allocations: 92.62 kB / 0.7394 GB, free: 13.36 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.8395, allocations: 198.7 kB / 0.7396 GB, free: 13.19 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.8395, allocations: 4 kB / 0.7396 GB, free: 13.18 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8397, allocations: 349.3 kB / 0.7399 GB, free: 12.85 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.84, allocations: 248 kB / 0.7402 GB, free: 12.66 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.8403, allocations: 245.8 kB / 0.7404 GB, free: 12.48 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.8414, allocations: 424.6 kB / 0.7408 GB, free: 12.14 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8414, allocations: 0 / 0.7408 GB, free: 12.14 MB / 0.5109 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001528/0.8429, allocations: 0.7632 MB / 0.7415 GB, free: 11.49 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8429, allocations: 4 kB / 0.7415 GB, free: 11.49 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.8429, allocations: 4 kB / 0.7416 GB, free: 11.48 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.843, allocations: 0 / 0.7416 GB, free: 11.48 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.8437, allocations: 147.2 kB / 0.7417 GB, free: 11.34 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8437, allocations: 0 / 0.7417 GB, free: 11.34 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.8439, allocations: 27.59 kB / 0.7417 GB, free: 11.32 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.844, allocations: 15.81 kB / 0.7417 GB, free: 11.3 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 (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.000116/0.8441, allocations: 120.6 kB / 0.7419 GB, free: 11.18 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.8442, allocations: 31.62 kB / 0.7419 GB, free: 11.15 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.8459, allocations: 0.8162 MB / 0.7427 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.846, allocations: 11.98 kB / 0.7427 GB, free: 10.47 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.846, allocations: 0 / 0.7427 GB, free: 10.47 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.846, allocations: 3.984 kB / 0.7427 GB, free: 10.47 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.8465, allocations: 403 kB / 0.7431 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8465, allocations: 4 kB / 0.7431 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.8475, allocations: 167.1 kB / 0.7432 GB, free: 9.934 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.8475, allocations: 4 kB / 0.7432 GB, free: 9.93 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.8476, allocations: 15.86 kB / 0.7433 GB, free: 9.918 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.8476, allocations: 4 kB / 0.7433 GB, free: 9.914 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8476, allocations: 4 kB / 0.7433 GB, free: 9.91 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001837/0.8494, allocations: 1.053 MB / 0.7443 GB, free: 9.051 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.8497, allocations: 171.1 kB / 0.7445 GB, free: 8.871 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.8497, allocations: 11.98 kB / 0.7445 GB, free: 8.859 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.8499, allocations: 3.906 kB / 0.7445 GB, free: 8.855 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.85, allocations: 36.03 kB / 0.7445 GB, free: 8.824 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.8501, allocations: 19.56 kB / 0.7445 GB, free: 8.809 MB / 0.5109 GB Notification: Performance of sort global known variables: time 6.554e-05/0.8501, allocations: 109.6 kB / 0.7446 GB, free: 8.715 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003388/0.8505, allocations: 108 kB / 0.7447 GB, free: 8.609 MB / 0.5109 GB 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 () * 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.0002046/0.8507, allocations: 123.1 kB / 0.7449 GB, free: 8.477 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007776/0.8515, allocations: 0.5727 MB / 0.7454 GB, free: 8.027 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8515, allocations: 0 / 0.7454 GB, free: 8.027 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.8519, allocations: 322.3 kB / 0.7457 GB, free: 7.785 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.8521, allocations: 30.98 kB / 0.7457 GB, free: 7.762 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.8543, allocations: 1.417 MB / 0.7471 GB, free: 6.371 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.8548, allocations: 0.8655 MB / 0.748 GB, free: 5.488 MB / 0.5109 GB Notification: Performance of SimCode: time 2.3e-07/0.8549, allocations: 0 / 0.748 GB, free: 5.488 MB / 0.5109 GB Notification: Performance of Templates: time 0.009246/0.8641, allocations: 5.517 MB / 0.7534 GB, free: 0 / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches