Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [: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.0009283/0.0009284, allocations: 185.2 kB / 8.135 MB, free: 2.191 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.055/1.055, allocations: 221.4 MB / 229.9 MB, free: 3.035 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.000938/0.000938, allocations: 103.1 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6144/0.6144, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.929e-06/4.949e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1186, allocations: 82.84 MB / 0.6091 GB, free: 3.586 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4866/0.6052, allocations: 124.2 MB / 0.7304 GB, free: 5.09 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001259/0.6054, allocations: 52.44 kB / 0.7304 GB, free: 5.074 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.0008041/0.6062, allocations: 150.7 kB / 0.7306 GB, free: 4.992 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.6062, allocations: 3.938 kB / 0.7306 GB, free: 4.988 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.0001532/0.6064, allocations: 309.9 kB / 0.7309 GB, free: 4.645 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6064, allocations: 8.031 kB / 0.7309 GB, free: 4.633 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.6065, allocations: 0 / 0.7309 GB, free: 4.633 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.065e-05/0.6065, allocations: 166.3 kB / 0.731 GB, free: 4.434 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.6065, allocations: 3.906 kB / 0.731 GB, free: 4.43 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.6066, allocations: 3.938 kB / 0.7311 GB, free: 4.426 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.824e-05/0.6066, allocations: 4 kB / 0.7311 GB, free: 4.422 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.593e-05/0.6067, allocations: 32.44 kB / 0.7311 GB, free: 4.387 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.6067, allocations: 0 / 0.7311 GB, free: 4.387 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.6067, allocations: 0 / 0.7311 GB, free: 4.387 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.6067, allocations: 4 kB / 0.7311 GB, free: 4.383 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.969e-05/0.6068, allocations: 129.3 kB / 0.7312 GB, free: 4.227 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 3.686e-05/0.6068, allocations: 26.53 kB / 0.7312 GB, free: 4.191 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.6068, allocations: 12.33 kB / 0.7313 GB, free: 4.18 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.607, allocations: 88.53 kB / 0.7313 GB, free: 4.078 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.607, allocations: 34.47 kB / 0.7314 GB, free: 4.035 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.607, allocations: 0 / 0.7314 GB, free: 4.035 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.6072, allocations: 40.64 kB / 0.7314 GB, free: 3.996 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.522e-05/0.6072, allocations: 51.41 kB / 0.7315 GB, free: 3.934 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.267e-05/0.6072, allocations: 89 kB / 0.7315 GB, free: 3.84 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.6072, allocations: 25.7 kB / 0.7316 GB, free: 3.809 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.1e-05/0.6072, allocations: 80.14 kB / 0.7316 GB, free: 3.727 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.6073, allocations: 7.938 kB / 0.7316 GB, free: 3.719 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.6073, allocations: 0 / 0.7316 GB, free: 3.719 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6074, allocations: 317.8 kB / 0.732 GB, free: 19.41 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.6074, allocations: 7.938 kB / 0.732 GB, free: 19.4 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.6074, allocations: 0 / 0.732 GB, free: 19.4 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.6074, allocations: 4 kB / 0.732 GB, free: 19.39 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6075, allocations: 0 / 0.732 GB, free: 19.39 MB / 0.5109 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.638e-05/0.6075, allocations: 40.75 kB / 0.732 GB, free: 19.36 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.6075, allocations: 13.19 kB / 0.732 GB, free: 19.34 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6075, allocations: 0 / 0.732 GB, free: 19.34 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.6076, allocations: 7.406 kB / 0.732 GB, free: 19.34 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.6076, allocations: 4 kB / 0.732 GB, free: 19.33 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.6076, allocations: 3.906 kB / 0.732 GB, free: 19.33 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.6076, allocations: 0 / 0.732 GB, free: 19.33 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.6076, allocations: 0 / 0.732 GB, free: 19.33 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 4.707e-05/0.6077, allocations: 103.9 kB / 0.7321 GB, free: 19.22 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-06/0.6077, allocations: 0 / 0.7321 GB, free: 19.22 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.6078, allocations: 56.41 kB / 0.7322 GB, free: 19.17 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6078, allocations: 7.328 kB / 0.7322 GB, free: 19.16 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6078, allocations: 0 / 0.7322 GB, free: 19.16 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.6078, allocations: 0 / 0.7322 GB, free: 19.16 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.298e-05/0.6079, allocations: 122.2 kB / 0.7323 GB, free: 19.01 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6079, allocations: 4.562 kB / 0.7323 GB, free: 19 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.6079, allocations: 0 / 0.7323 GB, free: 19 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.6079, allocations: 0 / 0.7323 GB, free: 19 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.608, allocations: 8.688 kB / 0.7323 GB, free: 19 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.608, allocations: 7.312 kB / 0.7323 GB, free: 18.99 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.608, allocations: 0 / 0.7323 GB, free: 18.99 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.737e-05/0.6081, allocations: 68.2 kB / 0.7324 GB, free: 18.91 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.6081, allocations: 77.11 kB / 0.7325 GB, free: 18.82 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.6081, allocations: 7.938 kB / 0.7325 GB, free: 18.81 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.6081, allocations: 3.125 kB / 0.7325 GB, free: 18.81 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-06/0.6081, allocations: 0 / 0.7325 GB, free: 18.81 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.6081, allocations: 11.22 kB / 0.7325 GB, free: 18.8 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.236e-05/0.6082, allocations: 75.28 kB / 0.7326 GB, free: 18.73 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002169/0.6084, allocations: 4.625 kB / 0.7326 GB, free: 18.73 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 9.972e-05/0.6085, allocations: 100.2 kB / 0.7327 GB, free: 18.62 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 4.62e-05/0.6085, allocations: 7.75 kB / 0.7327 GB, free: 18.62 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6086, allocations: 0 / 0.7327 GB, free: 18.62 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/0.6086, allocations: 4 kB / 0.7327 GB, free: 18.61 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.125e-05/0.6087, allocations: 5.188 kB / 0.7327 GB, free: 18.61 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001338/0.6088, allocations: 57.12 kB / 0.7327 GB, free: 18.54 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.609, allocations: 0.6874 MB / 0.7334 GB, free: 17.82 MB / 0.5109 GB Notification: Performance of SimCode: time 2.3e-07/0.609, allocations: 3.938 kB / 0.7334 GB, free: 17.82 MB / 0.5109 GB Notification: Performance of Templates: time 0.001786/0.6108, allocations: 289.9 kB / 0.7337 GB, free: 17.63 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches