Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") [: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.001004/0.001004, allocations: 187 kB / 8.136 MB, free: 2.207 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.062/1.062, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0007946/0.0007947, allocations: 100.6 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5922/0.5922, allocations: 120.4 MB / 452 MB, free: 13.05 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-06/4.138e-06, allocations: 0 / 0.5282 GB, free: 42.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 82.85 MB / 0.6091 GB, free: 9.562 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5576, allocations: 124.3 MB / 0.7305 GB, free: 24.26 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001243/0.5577, allocations: 48.56 kB / 0.7306 GB, free: 24.26 MB / 0.5109 GB Notification: Performance of FrontEnd: time 0.001113/0.5589, allocations: 240.7 kB / 0.7308 GB, free: 24.24 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5589, allocations: 0 / 0.7308 GB, free: 24.24 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001438/0.559, allocations: 311.4 kB / 0.7311 GB, free: 23.89 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5591, allocations: 9.344 kB / 0.7311 GB, free: 23.89 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.5591, allocations: 0 / 0.7311 GB, free: 23.89 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.813e-05/0.5592, allocations: 163.8 kB / 0.7313 GB, free: 23.7 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.5592, allocations: 5.125 kB / 0.7313 GB, free: 23.7 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.5592, allocations: 1.219 kB / 0.7313 GB, free: 23.7 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.56e-05/0.5592, allocations: 2.859 kB / 0.7313 GB, free: 23.7 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.535e-05/0.5593, allocations: 40.42 kB / 0.7313 GB, free: 23.66 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.5593, allocations: 0 / 0.7313 GB, free: 23.66 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.5593, allocations: 0 / 0.7313 GB, free: 23.66 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5593, allocations: 1.25 kB / 0.7313 GB, free: 23.66 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.383e-05/0.5594, allocations: 124.8 kB / 0.7314 GB, free: 23.5 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 3.378e-05/0.5594, allocations: 24.25 kB / 0.7315 GB, free: 23.48 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.5595, allocations: 10.39 kB / 0.7315 GB, free: 23.47 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.5596, allocations: 93.31 kB / 0.7316 GB, free: 23.37 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.5597, allocations: 35.75 kB / 0.7316 GB, free: 23.32 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5597, allocations: 0 / 0.7316 GB, free: 23.32 MB / 0.5109 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.5598, allocations: 37.81 kB / 0.7316 GB, free: 23.29 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.387e-05/0.5598, allocations: 52.31 kB / 0.7317 GB, free: 23.23 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.285e-05/0.5599, allocations: 88.81 kB / 0.7318 GB, free: 23.14 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.5599, allocations: 26.61 kB / 0.7318 GB, free: 23.11 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/0.5599, allocations: 84.17 kB / 0.7319 GB, free: 23.02 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.5599, allocations: 5.5 kB / 0.7319 GB, free: 23.02 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.5599, allocations: 0.9375 kB / 0.7319 GB, free: 23.02 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.56, allocations: 311.5 kB / 0.7322 GB, free: 38.71 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.56, allocations: 5.781 kB / 0.7322 GB, free: 38.7 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.56, allocations: 2.5 kB / 0.7322 GB, free: 38.7 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.5601, allocations: 7.172 kB / 0.7322 GB, free: 38.7 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5601, allocations: 0 / 0.7322 GB, free: 38.7 MB / 0.5265 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.36e-05/0.5602, allocations: 46.36 kB / 0.7322 GB, free: 38.67 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.5602, allocations: 6.062 kB / 0.7322 GB, free: 38.67 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.5602, allocations: 3.938 kB / 0.7322 GB, free: 38.66 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.5602, allocations: 1.281 kB / 0.7322 GB, free: 38.66 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.5603, allocations: 3.141 kB / 0.7322 GB, free: 38.66 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5603, allocations: 5.375 kB / 0.7323 GB, free: 38.66 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.5603, allocations: 0 / 0.7323 GB, free: 38.66 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.5603, allocations: 0.9062 kB / 0.7323 GB, free: 38.66 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 (2): * Single equations (assignments): 2 * 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 4.348e-05/0.5604, allocations: 102.8 kB / 0.7324 GB, free: 38.55 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.5604, allocations: 8.875 kB / 0.7324 GB, free: 38.55 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.5605, allocations: 55.3 kB / 0.7324 GB, free: 38.5 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5605, allocations: 3.906 kB / 0.7324 GB, free: 38.5 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5605, allocations: 1.516 kB / 0.7324 GB, free: 38.5 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.5605, allocations: 0 / 0.7324 GB, free: 38.5 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.897e-05/0.5605, allocations: 126.4 kB / 0.7325 GB, free: 38.34 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5606, allocations: 0.8125 kB / 0.7325 GB, free: 38.34 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.5606, allocations: 3.328 kB / 0.7325 GB, free: 38.34 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5606, allocations: 5.281 kB / 0.7325 GB, free: 38.34 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.5606, allocations: 0.6094 kB / 0.7325 GB, free: 38.34 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5606, allocations: 0.9375 kB / 0.7325 GB, free: 38.34 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5606, allocations: 0.8125 kB / 0.7325 GB, free: 38.34 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.587e-05/0.5607, allocations: 66.52 kB / 0.7326 GB, free: 38.27 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.5607, allocations: 82.8 kB / 0.7327 GB, free: 38.18 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.5607, allocations: 5.359 kB / 0.7327 GB, free: 38.17 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.151e-05/0.5607, allocations: 4.031 kB / 0.7327 GB, free: 38.17 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.5608, allocations: 1.641 kB / 0.7327 GB, free: 38.17 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.5608, allocations: 7.031 kB / 0.7327 GB, free: 38.16 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.23e-05/0.5608, allocations: 76.73 kB / 0.7328 GB, free: 38.09 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0001594/0.561, allocations: 6.75 kB / 0.7328 GB, free: 38.09 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 8.889e-05/0.561, allocations: 96.02 kB / 0.7329 GB, free: 38 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 5.022e-05/0.5611, allocations: 10.84 kB / 0.7329 GB, free: 38 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.5611, allocations: 0 / 0.7329 GB, free: 38 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.5611, allocations: 7.812 kB / 0.7329 GB, free: 38 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.547e-05/0.5612, allocations: 1.281 kB / 0.7329 GB, free: 38 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001283/0.5613, allocations: 50.44 kB / 0.7329 GB, free: 37.93 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.5615, allocations: 0.6913 MB / 0.7336 GB, free: 37.22 MB / 0.5265 GB Notification: Performance of SimCode: time 2.41e-07/0.5615, allocations: 0 / 0.7336 GB, free: 37.22 MB / 0.5265 GB Notification: Performance of Templates: time 0.001624/0.5632, allocations: 301.6 kB / 0.7339 GB, free: 37.16 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches