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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001805, allocations: 175.7 kB / 8.348 MB, free: 0.7266 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.505/1.505, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0009863/0.0009861, allocations: 98.47 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.16/1.16, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.545e-05, allocations: 4 kB / 0.5288 GB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7887/0.7888, allocations: 82.84 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/1.016, allocations: 124.4 MB / 0.7312 GB, free: 472 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.016, allocations: 55.91 kB / 0.7313 GB, free: 420 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.004321/1.021, allocations: 0.7712 MB / 0.732 GB, free: 15.63 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.375e-06/1.021, allocations: 0 / 0.732 GB, free: 15.63 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.021, allocations: 0 / 0.732 GB, free: 15.63 MB / 0.5419 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.0004344/1.021, allocations: 326.4 kB / 0.7323 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/1.021, allocations: 8.031 kB / 0.7323 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/1.021, allocations: 3.953 kB / 0.7323 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/1.021, allocations: 163.1 kB / 0.7325 GB, free: 15.06 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/1.021, allocations: 0 / 0.7325 GB, free: 15.06 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/1.022, allocations: 0 / 0.7325 GB, free: 15.06 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.959e-05/1.022, allocations: 11.98 kB / 0.7325 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.022, allocations: 37.69 kB / 0.7325 GB, free: 15 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/1.022, allocations: 0 / 0.7325 GB, free: 15 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.022, allocations: 0 / 0.7325 GB, free: 15 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/1.022, allocations: 7.953 kB / 0.7325 GB, free: 15 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/1.022, allocations: 122.2 kB / 0.7327 GB, free: 14.84 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/1.022, allocations: 42.55 kB / 0.7327 GB, free: 14.79 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/1.023, allocations: 12.92 kB / 0.7327 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/1.023, allocations: 4 kB / 0.7327 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/1.023, allocations: 34.66 kB / 0.7328 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 2.605e-06/1.023, allocations: 0 / 0.7328 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0003956/1.023, allocations: 49.58 kB / 0.7328 GB, free: 14.67 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/1.023, allocations: 51.41 kB / 0.7329 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/1.023, allocations: 93 kB / 0.7329 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/1.023, allocations: 29.83 kB / 0.733 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/1.023, allocations: 88.06 kB / 0.7331 GB, free: 14.39 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/1.023, allocations: 7.844 kB / 0.7331 GB, free: 14.38 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/1.024, allocations: 4 kB / 0.7331 GB, free: 14.38 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002143/1.024, allocations: 318.8 kB / 0.7334 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/1.024, allocations: 7.938 kB / 0.7334 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/1.024, allocations: 0 / 0.7334 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/1.024, allocations: 15.98 kB / 0.7334 GB, free: 14.03 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.024, allocations: 7.938 kB / 0.7334 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002386/1.024, allocations: 57.86 kB / 0.7335 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.024, allocations: 4 kB / 0.7335 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.024, allocations: 0 / 0.7335 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.024, allocations: 0 / 0.7335 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/1.024, allocations: 19.97 kB / 0.7335 GB, free: 13.94 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.025, allocations: 0 / 0.7335 GB, free: 13.94 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/1.025, allocations: 0 / 0.7335 GB, free: 13.94 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/1.025, allocations: 0 / 0.7335 GB, free: 13.94 MB / 0.5419 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 0.0001271/1.025, allocations: 108.9 kB / 0.7336 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/1.025, allocations: 7.906 kB / 0.7336 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/1.025, allocations: 73.73 kB / 0.7337 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.025, allocations: 0 / 0.7337 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.025, allocations: 0 / 0.7337 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.025, allocations: 3.984 kB / 0.7337 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/1.025, allocations: 138.2 kB / 0.7338 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.025, allocations: 0 / 0.7338 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/1.025, allocations: 11.98 kB / 0.7338 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.025, allocations: 0 / 0.7338 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/1.026, allocations: 4 kB / 0.7338 GB, free: 13.54 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.026, allocations: 0 / 0.7338 GB, free: 13.54 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.026, allocations: 0 / 0.7338 GB, free: 13.54 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/1.026, allocations: 105 kB / 0.7339 GB, free: 13.42 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/1.026, allocations: 81.06 kB / 0.734 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/1.026, allocations: 4.031 kB / 0.734 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/1.026, allocations: 4 kB / 0.734 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/1.026, allocations: 8.047 kB / 0.734 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/1.026, allocations: 4 kB / 0.734 GB, free: 13.3 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.16e-05/1.026, allocations: 75.28 kB / 0.7341 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.21e-07/1.026, allocations: 0 / 0.7341 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003178/1.026, allocations: 15.94 kB / 0.7341 GB, free: 13.21 MB / 0.5419 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.0002226/1.027, allocations: 111.2 kB / 0.7342 GB, free: 13.09 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001188/1.027, allocations: 19.94 kB / 0.7342 GB, free: 13.07 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.027, allocations: 0 / 0.7342 GB, free: 13.07 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/1.027, allocations: 20.09 kB / 0.7342 GB, free: 13.05 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/1.027, allocations: 4.188 kB / 0.7342 GB, free: 13.05 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/1.028, allocations: 85.94 kB / 0.7343 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/1.028, allocations: 0.6846 MB / 0.735 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 4.57e-05/1.028, allocations: 4 kB / 0.735 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/1.028, allocations: 11.44 kB / 0.735 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of SimCode: time 4.6e-07/1.028, allocations: 4 kB / 0.735 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of Templates: time 0.00345/1.032, allocations: 499.8 kB / 0.7355 GB, free: 11.73 MB / 0.5419 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