Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [: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.00112/0.00112, allocations: 184.5 kB / 8.135 MB, free: 2.211 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.215/1.215, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.001014/0.001014, allocations: 103.5 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.729/0.729, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.879e-06/4.899e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 82.84 MB / 0.6091 GB, free: 3.57 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4965/0.6182, allocations: 124.4 MB / 0.7306 GB, free: 5.195 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001596/0.6184, allocations: 46.73 kB / 0.7306 GB, free: 5.18 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.001918/0.6203, allocations: 470.6 kB / 0.7311 GB, free: 4.922 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.6204, allocations: 0 / 0.7311 GB, free: 4.922 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001812/0.6206, allocations: 321 kB / 0.7314 GB, free: 4.57 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.6206, allocations: 11.97 kB / 0.7314 GB, free: 4.555 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.6206, allocations: 0 / 0.7314 GB, free: 4.555 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.588e-05/0.6207, allocations: 174.7 kB / 0.7315 GB, free: 4.348 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.6207, allocations: 0 / 0.7315 GB, free: 4.348 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.6207, allocations: 0 / 0.7315 GB, free: 4.348 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.992e-05/0.6208, allocations: 4 kB / 0.7315 GB, free: 4.344 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.141e-05/0.6209, allocations: 39.53 kB / 0.7316 GB, free: 4.305 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6209, allocations: 3.5 kB / 0.7316 GB, free: 4.305 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.6209, allocations: 0 / 0.7316 GB, free: 4.305 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.6209, allocations: 4 kB / 0.7316 GB, free: 4.301 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.621, allocations: 132.5 kB / 0.7317 GB, free: 4.141 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.6212, allocations: 45.2 kB / 0.7318 GB, free: 4.094 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.6212, allocations: 12.3 kB / 0.7318 GB, free: 4.082 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.6212, allocations: 0 / 0.7318 GB, free: 4.082 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.6213, allocations: 35.06 kB / 0.7318 GB, free: 4.039 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.6213, allocations: 0 / 0.7318 GB, free: 4.039 MB / 0.4953 GB Notification: Performance of matching and sorting (n=3): time 0.0001756/0.6214, allocations: 47.45 kB / 0.7318 GB, free: 3.996 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.51e-05/0.6215, allocations: 51.41 kB / 0.7319 GB, free: 3.934 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.254e-05/0.6215, allocations: 99.25 kB / 0.732 GB, free: 3.836 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.6215, allocations: 25.7 kB / 0.732 GB, free: 3.805 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-06/0.6215, allocations: 80.14 kB / 0.7321 GB, free: 3.723 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.6216, allocations: 11.75 kB / 0.7321 GB, free: 3.711 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.6216, allocations: 4 kB / 0.7321 GB, free: 3.707 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.6217, allocations: 313.8 kB / 0.7324 GB, free: 19.39 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.6217, allocations: 7.938 kB / 0.7324 GB, free: 19.39 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.6217, allocations: 6.5 kB / 0.7324 GB, free: 19.39 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/0.6218, allocations: 16.17 kB / 0.7324 GB, free: 19.38 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6218, allocations: 0 / 0.7324 GB, free: 19.38 MB / 0.5109 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.6219, allocations: 66.83 kB / 0.7325 GB, free: 19.32 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.6219, allocations: 4 kB / 0.7325 GB, free: 19.32 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.622, allocations: 0 / 0.7325 GB, free: 19.32 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.622, allocations: 0 / 0.7325 GB, free: 19.32 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.622, allocations: 8 kB / 0.7325 GB, free: 19.31 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.622, allocations: 5.25 kB / 0.7325 GB, free: 19.31 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.6221, allocations: 0 / 0.7325 GB, free: 19.31 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.6221, allocations: 0 / 0.7325 GB, free: 19.31 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 (4): * Single equations (assignments): 4 * 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.954e-05/0.6221, allocations: 112.9 kB / 0.7326 GB, free: 19.19 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.6221, allocations: 3.906 kB / 0.7326 GB, free: 19.19 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.6224, allocations: 77.06 kB / 0.7327 GB, free: 19.12 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6224, allocations: 3.281 kB / 0.7327 GB, free: 19.12 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6224, allocations: 0 / 0.7327 GB, free: 19.12 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6224, allocations: 0 / 0.7327 GB, free: 19.12 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.389e-05/0.6225, allocations: 149.1 kB / 0.7328 GB, free: 18.95 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.6225, allocations: 0 / 0.7328 GB, free: 18.95 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.6225, allocations: 8 kB / 0.7329 GB, free: 18.94 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.6225, allocations: 0 / 0.7329 GB, free: 18.94 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.6226, allocations: 3.562 kB / 0.7329 GB, free: 18.94 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6226, allocations: 2.438 kB / 0.7329 GB, free: 18.94 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6226, allocations: 3.469 kB / 0.7329 GB, free: 18.94 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001786/0.6227, allocations: 101.3 kB / 0.733 GB, free: 18.84 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.6228, allocations: 88.59 kB / 0.733 GB, free: 18.73 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.6228, allocations: 3.906 kB / 0.733 GB, free: 18.73 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.6228, allocations: 0 / 0.733 GB, free: 18.73 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.6229, allocations: 3 kB / 0.7331 GB, free: 18.73 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.6229, allocations: 4 kB / 0.7331 GB, free: 18.73 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.269e-05/0.6229, allocations: 75.28 kB / 0.7331 GB, free: 18.65 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0001842/0.6231, allocations: 15.28 kB / 0.7331 GB, free: 18.64 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001391/0.6232, allocations: 112.1 kB / 0.7332 GB, free: 18.52 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 7.728e-05/0.6233, allocations: 30.22 kB / 0.7333 GB, free: 18.5 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6233, allocations: 0 / 0.7333 GB, free: 18.5 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/0.6234, allocations: 14.94 kB / 0.7333 GB, free: 18.49 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.976e-05/0.6235, allocations: 0 / 0.7333 GB, free: 18.49 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.6237, allocations: 76.91 kB / 0.7334 GB, free: 18.4 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.624, allocations: 0.7025 MB / 0.734 GB, free: 17.69 MB / 0.5109 GB Notification: Performance of SimCode: time 3.11e-07/0.624, allocations: 3.938 kB / 0.7341 GB, free: 17.68 MB / 0.5109 GB Notification: Performance of Templates: time 0.002024/0.626, allocations: 0.5071 MB / 0.7345 GB, free: 17.37 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches