Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.00102/0.001021, allocations: 182.8 kB / 8.138 MB, free: 2.219 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.059 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.0008673/0.0008673, allocations: 96.81 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6085/0.6085, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.16e-06, allocations: 0 / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 82.84 MB / 0.6091 GB, free: 3.559 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5342, allocations: 124.3 MB / 0.7305 GB, free: 5.203 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 8.439e-05/0.5343, allocations: 50.75 kB / 0.7306 GB, free: 5.184 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.0009346/0.5353, allocations: 240.5 kB / 0.7308 GB, free: 5.051 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.5353, allocations: 0 / 0.7308 GB, free: 5.051 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001216/0.5354, allocations: 305.9 kB / 0.7311 GB, free: 4.711 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.5355, allocations: 8.031 kB / 0.7311 GB, free: 4.699 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.872e-05/0.5355, allocations: 0 / 0.7311 GB, free: 4.699 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.213e-05/0.5355, allocations: 169.7 kB / 0.7313 GB, free: 4.5 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.5355, allocations: 7.906 kB / 0.7313 GB, free: 4.492 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-06/0.5356, allocations: 0 / 0.7313 GB, free: 4.492 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.157e-05/0.5356, allocations: 4.875 kB / 0.7313 GB, free: 4.488 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.842e-05/0.5357, allocations: 33.45 kB / 0.7313 GB, free: 4.453 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.5357, allocations: 2.625 kB / 0.7313 GB, free: 4.453 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.5357, allocations: 0 / 0.7313 GB, free: 4.453 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.5357, allocations: 0 / 0.7313 GB, free: 4.453 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.652e-05/0.5358, allocations: 129.6 kB / 0.7314 GB, free: 4.293 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 2.886e-05/0.5358, allocations: 26.05 kB / 0.7315 GB, free: 4.262 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.5358, allocations: 12.92 kB / 0.7315 GB, free: 4.246 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.536, allocations: 88.38 kB / 0.7316 GB, free: 4.145 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.536, allocations: 34.47 kB / 0.7316 GB, free: 4.102 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.536, allocations: 0 / 0.7316 GB, free: 4.102 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2): time 0.0001253/0.5361, allocations: 36.98 kB / 0.7316 GB, free: 4.062 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.112e-05/0.5361, allocations: 51.41 kB / 0.7317 GB, free: 4 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.151e-05/0.5361, allocations: 88.69 kB / 0.7318 GB, free: 3.91 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.5362, allocations: 33.73 kB / 0.7318 GB, free: 3.871 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 8.456e-06/0.5362, allocations: 80.14 kB / 0.7319 GB, free: 3.789 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.5362, allocations: 6.953 kB / 0.7319 GB, free: 3.785 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.5362, allocations: 0 / 0.7319 GB, free: 3.785 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.5363, allocations: 310.8 kB / 0.7322 GB, free: 19.47 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.5363, allocations: 0 / 0.7322 GB, free: 19.47 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.5363, allocations: 4 kB / 0.7322 GB, free: 19.47 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.5363, allocations: 15.19 kB / 0.7322 GB, free: 19.46 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5364, allocations: 4.062 kB / 0.7322 GB, free: 19.46 MB / 0.5109 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.594e-05/0.5364, allocations: 37.03 kB / 0.7322 GB, free: 19.42 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.5364, allocations: 7.281 kB / 0.7322 GB, free: 19.41 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5364, allocations: 2.125 kB / 0.7322 GB, free: 19.41 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.5365, allocations: 7.938 kB / 0.7322 GB, free: 19.41 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.808e-05/0.5365, allocations: 3.188 kB / 0.7323 GB, free: 19.41 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.5365, allocations: 4.688 kB / 0.7323 GB, free: 19.4 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.5365, allocations: 7.938 kB / 0.7323 GB, free: 19.39 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.5365, allocations: 0 / 0.7323 GB, free: 19.39 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 (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 5.083e-05/0.5366, allocations: 105 kB / 0.7324 GB, free: 19.29 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.5366, allocations: 0 / 0.7324 GB, free: 19.29 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.5367, allocations: 54.88 kB / 0.7324 GB, free: 19.23 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5367, allocations: 7.906 kB / 0.7324 GB, free: 19.23 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5367, allocations: 0 / 0.7324 GB, free: 19.23 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5367, allocations: 0 / 0.7324 GB, free: 19.23 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.454e-05/0.5368, allocations: 122.2 kB / 0.7325 GB, free: 19.07 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.5368, allocations: 0 / 0.7325 GB, free: 19.07 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.5368, allocations: 11.36 kB / 0.7326 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5368, allocations: 0 / 0.7326 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.5368, allocations: 0 / 0.7326 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.5368, allocations: 0 / 0.7326 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5368, allocations: 6.25 kB / 0.7326 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.333e-05/0.5369, allocations: 64.16 kB / 0.7326 GB, free: 18.98 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.5369, allocations: 84.42 kB / 0.7327 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.5369, allocations: 0 / 0.7327 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.537, allocations: 4.031 kB / 0.7327 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-06/0.537, allocations: 4 kB / 0.7327 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.537, allocations: 3.906 kB / 0.7327 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.199e-05/0.537, allocations: 79.22 kB / 0.7328 GB, free: 18.8 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.000179/0.5372, allocations: 8 kB / 0.7328 GB, free: 18.79 MB / 0.5109 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 7.858e-05/0.5373, allocations: 95.42 kB / 0.7329 GB, free: 18.69 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 4.369e-05/0.5373, allocations: 11.75 kB / 0.7329 GB, free: 18.68 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.5373, allocations: 64 / 0.7329 GB, free: 18.68 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 6.111e-06/0.5373, allocations: 8 kB / 0.7329 GB, free: 18.68 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.427e-05/0.5374, allocations: 0 / 0.7329 GB, free: 18.68 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000112/0.5375, allocations: 44.02 kB / 0.7329 GB, free: 18.61 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.5378, allocations: 0.6911 MB / 0.7336 GB, free: 17.9 MB / 0.5109 GB Notification: Performance of SimCode: time 2.3e-07/0.5378, allocations: 7.938 kB / 0.7336 GB, free: 17.89 MB / 0.5109 GB Notification: Performance of Templates: time 0.001485/0.5393, allocations: 306.8 kB / 0.7339 GB, free: 17.7 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches