Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [: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.001011/0.001011, allocations: 187.6 kB / 8.138 MB, free: 2.223 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.135/1.135, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0008618/0.0008619, allocations: 99.91 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6867/0.6867, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.1e-06/5.2e-06, allocations: 0 / 0.5289 GB, free: 51.82 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 82.85 MB / 0.6098 GB, free: 2.809 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5849/0.7155, allocations: 125.1 MB / 0.732 GB, free: 4.027 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.7157, allocations: 62.77 kB / 0.7321 GB, free: 4.004 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.008179/0.7239, allocations: 2.51 MB / 0.7345 GB, free: 2.02 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.7239, allocations: 4 kB / 0.7345 GB, free: 2.016 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005487/0.7245, allocations: 458.6 kB / 0.7349 GB, free: 1.527 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.7245, allocations: 8.031 kB / 0.735 GB, free: 1.52 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.7246, allocations: 19.81 kB / 0.735 GB, free: 1.5 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.7249, allocations: 225.4 kB / 0.7352 GB, free: 1.246 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.7249, allocations: 4 kB / 0.7352 GB, free: 1.242 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.725, allocations: 18.28 kB / 0.7352 GB, free: 1.227 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002386/0.7252, allocations: 143.8 kB / 0.7353 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.7254, allocations: 160.5 kB / 0.7355 GB, free: 0.9805 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.7255, allocations: 4 kB / 0.7355 GB, free: 0.9766 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.7255, allocations: 0 / 0.7355 GB, free: 0.9766 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7255, allocations: 0 / 0.7355 GB, free: 0.9766 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.7258, allocations: 251.4 kB / 0.7357 GB, free: 0.7188 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.7265, allocations: 308.4 kB / 0.736 GB, free: 476 kB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.7267, allocations: 118.2 kB / 0.7362 GB, free: 384 kB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.7269, allocations: 86.14 kB / 0.7362 GB, free: 280 kB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.7269, allocations: 41.92 kB / 0.7363 GB, free: 232 kB / 0.4953 GB Notification: Performance of pre-optimization done (n=28): time 1.372e-06/0.7269, allocations: 0 / 0.7363 GB, free: 232 kB / 0.4953 GB Notification: Performance of matching and sorting (n=28): time 0.0007796/0.7277, allocations: 336.6 kB / 0.7366 GB, free: 15.93 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.7277, allocations: 55.41 kB / 0.7366 GB, free: 15.86 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.7279, allocations: 115.7 kB / 0.7368 GB, free: 15.75 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.7279, allocations: 25.7 kB / 0.7368 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.7279, allocations: 87.95 kB / 0.7369 GB, free: 15.63 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.728, allocations: 107.6 kB / 0.737 GB, free: 15.54 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.7281, allocations: 0 / 0.737 GB, free: 15.54 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7282, allocations: 331.8 kB / 0.7373 GB, free: 15.21 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.7284, allocations: 126.1 kB / 0.7374 GB, free: 15.11 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.7286, allocations: 132.7 kB / 0.7375 GB, free: 15.02 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.7291, allocations: 211.7 kB / 0.7377 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7292, allocations: 0 / 0.7377 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008518/0.73, allocations: 424.2 kB / 0.7381 GB, free: 14.49 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.73, allocations: 8 kB / 0.7381 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7301, allocations: 0 / 0.7381 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7301, allocations: 0 / 0.7381 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.7305, allocations: 75.84 kB / 0.7382 GB, free: 14.41 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.7305, allocations: 4 kB / 0.7382 GB, free: 14.41 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.7307, allocations: 15.73 kB / 0.7382 GB, free: 14.39 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.7307, allocations: 8 kB / 0.7382 GB, free: 14.38 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 (39): * Single equations (assignments): 39 * 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 9.275e-05/0.7308, allocations: 116.7 kB / 0.7384 GB, free: 14.27 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.7308, allocations: 11.81 kB / 0.7384 GB, free: 14.25 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.7319, allocations: 454 kB / 0.7388 GB, free: 13.88 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.7319, allocations: 4 kB / 0.7388 GB, free: 13.88 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7319, allocations: 0 / 0.7388 GB, free: 13.88 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.7319, allocations: 4 kB / 0.7388 GB, free: 13.88 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.7323, allocations: 276.3 kB / 0.7391 GB, free: 13.6 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.7323, allocations: 5.625 kB / 0.7391 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.7328, allocations: 87.39 kB / 0.7392 GB, free: 13.51 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7328, allocations: 3.938 kB / 0.7392 GB, free: 13.51 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.7329, allocations: 11.98 kB / 0.7392 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7329, allocations: 0 / 0.7392 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7329, allocations: 0 / 0.7392 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001041/0.7339, allocations: 0.5676 MB / 0.7397 GB, free: 13.02 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.734, allocations: 123.6 kB / 0.7398 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.7341, allocations: 4 kB / 0.7399 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.7342, allocations: 0 / 0.7399 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.7343, allocations: 23.95 kB / 0.7399 GB, free: 12.85 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.7343, allocations: 12.62 kB / 0.7399 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of sort global known variables: time 6.866e-05/0.7344, allocations: 113.6 kB / 0.74 GB, free: 12.74 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002668/0.7347, allocations: 59.94 kB / 0.7401 GB, free: 12.68 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001909/0.7349, allocations: 115.2 kB / 0.7402 GB, free: 12.56 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.7354, allocations: 304.2 kB / 0.7405 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7354, allocations: 0 / 0.7405 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.7356, allocations: 158.5 kB / 0.7406 GB, free: 12.21 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.7358, allocations: 23.61 kB / 0.7406 GB, free: 12.19 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.7371, allocations: 0.7793 MB / 0.7414 GB, free: 11.41 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/0.7376, allocations: 0.7791 MB / 0.7421 GB, free: 10.61 MB / 0.5109 GB Notification: Performance of SimCode: time 2.885e-06/0.7376, allocations: 3.938 kB / 0.7421 GB, free: 10.61 MB / 0.5109 GB Notification: Performance of Templates: time 0.006148/0.7437, allocations: 3.089 MB / 0.7452 GB, free: 7.555 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches