Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009702/0.0009703, allocations: 184.7 kB / 8.135 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.068/1.068, allocations: 221.4 MB / 229.9 MB, free: 13.55 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 100.6 kB / 280.8 MB, free: 10.52 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6202/0.6202, allocations: 120.4 MB / 452 MB, free: 13.3 MB / 338.8 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.709e-06, allocations: 0 / 0.5289 GB, free: 3.789 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3201, allocations: 82.83 MB / 0.6098 GB, free: 4.441 MB / 418.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4441, allocations: 125.1 MB / 0.732 GB, free: 7.195 MB / 0.5341 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/0.4443, allocations: 71.78 kB / 0.7321 GB, free: 7.129 MB / 0.5341 GB Notification: Performance of FrontEnd: time 0.34/0.7843, allocations: 12.37 MB / 0.7441 GB, free: 127.1 MB / 0.5344 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.7843, allocations: 18.84 kB / 0.7442 GB, free: 127.1 MB / 0.5344 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.00295/0.7873, allocations: 1.478 MB / 0.7456 GB, free: 126.4 MB / 0.5344 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.7873, allocations: 9.328 kB / 0.7456 GB, free: 126.4 MB / 0.5344 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.7875, allocations: 82.75 kB / 0.7457 GB, free: 126.4 MB / 0.5344 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.789, allocations: 0.8427 MB / 0.7465 GB, free: 126 MB / 0.5344 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.789, allocations: 26.56 kB / 0.7465 GB, free: 126 MB / 0.5344 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.7892, allocations: 83.86 kB / 0.7466 GB, free: 125.9 MB / 0.5344 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001868/0.7911, allocations: 1.243 MB / 0.7478 GB, free: 125.7 MB / 0.5344 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.7928, allocations: 1.046 MB / 0.7489 GB, free: 125.5 MB / 0.5344 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.7928, allocations: 0.7812 kB / 0.7489 GB, free: 125.5 MB / 0.5344 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.7929, allocations: 0.875 kB / 0.7489 GB, free: 125.5 MB / 0.5344 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.793, allocations: 19.09 kB / 0.7489 GB, free: 125.5 MB / 0.5344 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.7944, allocations: 0.9871 MB / 0.7498 GB, free: 125 MB / 0.5344 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/0.799, allocations: 2.313 MB / 0.7521 GB, free: 124.2 MB / 0.5344 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.8001, allocations: 0.8385 MB / 0.7529 GB, free: 123.9 MB / 0.5344 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.8003, allocations: 127.1 kB / 0.753 GB, free: 123.8 MB / 0.5344 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.8004, allocations: 60.25 kB / 0.7531 GB, free: 123.7 MB / 0.5344 GB Notification: Performance of pre-optimization done (n=203): time 3.055e-06/0.8004, allocations: 0 / 0.7531 GB, free: 123.7 MB / 0.5344 GB Notification: Performance of matching and sorting (n=203): time 0.004516/0.8049, allocations: 2.295 MB / 0.7553 GB, free: 121.9 MB / 0.5344 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.8049, allocations: 73.41 kB / 0.7554 GB, free: 121.8 MB / 0.5344 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.8051, allocations: 196.3 kB / 0.7556 GB, free: 121.6 MB / 0.5344 GB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/0.8052, allocations: 29.64 kB / 0.7556 GB, free: 121.6 MB / 0.5344 GB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.8052, allocations: 103.3 kB / 0.7557 GB, free: 121.5 MB / 0.5344 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.8055, allocations: 0.7545 MB / 0.7565 GB, free: 120.7 MB / 0.5344 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/0.8056, allocations: 0 / 0.7565 GB, free: 120.7 MB / 0.5344 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.8057, allocations: 415.2 kB / 0.7569 GB, free: 120.3 MB / 0.5344 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.8068, allocations: 0.9414 MB / 0.7578 GB, free: 119.4 MB / 0.5344 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.8078, allocations: 0.9484 MB / 0.7587 GB, free: 118.4 MB / 0.5344 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/0.8111, allocations: 1.612 MB / 0.7603 GB, free: 116.8 MB / 0.5344 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.8111, allocations: 0 / 0.7603 GB, free: 116.8 MB / 0.5344 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004794/0.8159, allocations: 2.898 MB / 0.7631 GB, free: 113.9 MB / 0.5344 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.816, allocations: 8 kB / 0.7631 GB, free: 113.8 MB / 0.5344 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.816, allocations: 0 / 0.7631 GB, free: 113.8 MB / 0.5344 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.816, allocations: 8.562 kB / 0.7631 GB, free: 113.8 MB / 0.5344 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/0.8193, allocations: 0.5488 MB / 0.7637 GB, free: 113.3 MB / 0.5344 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.8193, allocations: 8 kB / 0.7637 GB, free: 113.3 MB / 0.5344 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006523/0.82, allocations: 106.2 kB / 0.7638 GB, free: 113.2 MB / 0.5344 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.8201, allocations: 75.97 kB / 0.7638 GB, free: 113.1 MB / 0.5344 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.0002235/0.8203, allocations: 134.8 kB / 0.764 GB, free: 113 MB / 0.5344 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.8205, allocations: 87.72 kB / 0.7641 GB, free: 112.9 MB / 0.5344 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/0.8259, allocations: 3.083 MB / 0.7671 GB, free: 109.8 MB / 0.5344 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.826, allocations: 28 kB / 0.7671 GB, free: 109.7 MB / 0.5344 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.826, allocations: 0 / 0.7671 GB, free: 109.7 MB / 0.5344 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.826, allocations: 11.95 kB / 0.7671 GB, free: 109.7 MB / 0.5344 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.8273, allocations: 1.192 MB / 0.7683 GB, free: 108.5 MB / 0.5344 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.8273, allocations: 0 / 0.7683 GB, free: 108.5 MB / 0.5344 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003993/0.8313, allocations: 0.6125 MB / 0.7689 GB, free: 107.9 MB / 0.5344 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.8313, allocations: 19.92 kB / 0.7689 GB, free: 107.9 MB / 0.5344 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.8315, allocations: 63.94 kB / 0.7689 GB, free: 107.8 MB / 0.5344 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.8315, allocations: 11.98 kB / 0.769 GB, free: 107.8 MB / 0.5344 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8315, allocations: 0 / 0.769 GB, free: 107.8 MB / 0.5344 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005622/0.8371, allocations: 3.96 MB / 0.7728 GB, free: 103.8 MB / 0.5344 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.8376, allocations: 403.1 kB / 0.7732 GB, free: 103.4 MB / 0.5344 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.8379, allocations: 39.95 kB / 0.7732 GB, free: 103.4 MB / 0.5344 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.8385, allocations: 0 / 0.7732 GB, free: 103.4 MB / 0.5344 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.8387, allocations: 146 kB / 0.7734 GB, free: 103.2 MB / 0.5344 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.8388, allocations: 95.81 kB / 0.7735 GB, free: 103.1 MB / 0.5344 GB Notification: Performance of sort global known variables: time 8.356e-05/0.8389, allocations: 156.5 kB / 0.7736 GB, free: 103 MB / 0.5344 GB Notification: Performance of remove unused functions: time 0.0006608/0.8396, allocations: 364 kB / 0.774 GB, free: 102.6 MB / 0.5344 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.00024/0.8398, allocations: 180.4 kB / 0.7741 GB, free: 102.4 MB / 0.5344 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.8422, allocations: 2.255 MB / 0.7763 GB, free: 100.2 MB / 0.5344 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8422, allocations: 0 / 0.7763 GB, free: 100.2 MB / 0.5344 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.8434, allocations: 1.226 MB / 0.7775 GB, free: 98.93 MB / 0.5344 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.8439, allocations: 100.4 kB / 0.7776 GB, free: 98.83 MB / 0.5344 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.8496, allocations: 5.381 MB / 0.7829 GB, free: 93.4 MB / 0.5344 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.8506, allocations: 1.35 MB / 0.7842 GB, free: 92.02 MB / 0.5344 GB Notification: Performance of SimCode: time 2.41e-07/0.8506, allocations: 4 kB / 0.7842 GB, free: 92.02 MB / 0.5344 GB Notification: Performance of Templates: time 0.02163/0.8723, allocations: 20.23 MB / 0.804 GB, free: 71.89 MB / 0.5344 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches