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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 115 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 190 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 222.9 MB / 241.2 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7611/0.7611, allocations: 119.3 MB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 59.91 kB / 0.4904 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3923, allocations: 80.69 MB / 0.5692 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001273/0.3936, allocations: 475.4 kB / 0.5697 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.3939, allocations: 214.9 kB / 0.5699 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.394, allocations: 3.938 kB / 0.5699 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.394, allocations: 0 / 0.5699 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.3941, allocations: 9.031 kB / 0.5699 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.644e-05/0.3942, allocations: 19.39 kB / 0.5699 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.3943, allocations: 16.3 kB / 0.5699 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.3943, allocations: 2.25 kB / 0.57 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.3943, allocations: 10.05 kB / 0.57 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.3944, allocations: 3.688 kB / 0.57 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.3944, allocations: 0 / 0.57 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.446e-05/0.3945, allocations: 23.28 kB / 0.57 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.3945, allocations: 1.281 kB / 0.57 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.3945, allocations: 9.156 kB / 0.57 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.076e-05/0.3946, allocations: 33.17 kB / 0.57 GB, free: 42.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3946, allocations: 1.25 kB / 0.57 GB, free: 42.8 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3946, allocations: 0 / 0.57 GB, free: 42.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3946, allocations: 0 / 0.57 GB, free: 42.8 MB / 462.3 MB 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.000225/0.3948, allocations: 318.6 kB / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3949, allocations: 9.656 kB / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.3949, allocations: 10.03 kB / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.747e-05/0.3949, allocations: 163.4 kB / 0.5705 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.395, allocations: 1.531 kB / 0.5705 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.395, allocations: 9.5 kB / 0.5705 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.087e-05/0.3951, allocations: 34.91 kB / 0.5706 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-06/0.3951, allocations: 4.125 kB / 0.5706 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3951, allocations: 7.922 kB / 0.5706 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3951, allocations: 1.25 kB / 0.5706 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.142e-05/0.3951, allocations: 12.52 kB / 0.5706 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.3952, allocations: 153.6 kB / 0.5707 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.3954, allocations: 43.5 kB / 0.5708 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.3954, allocations: 8.359 kB / 0.5708 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3955, allocations: 1.188 kB / 0.5708 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.3955, allocations: 34.5 kB / 0.5708 GB, free: 41.9 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3955, allocations: 1.531 kB / 0.5708 GB, free: 41.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001138/0.3956, allocations: 54.8 kB / 0.5709 GB, free: 41.85 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.555e-05/0.3956, allocations: 52.41 kB / 0.5709 GB, free: 41.79 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.577e-05/0.3957, allocations: 100.4 kB / 0.571 GB, free: 41.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.3957, allocations: 25.7 kB / 0.571 GB, free: 41.65 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.113e-05/0.3957, allocations: 83.61 kB / 0.5711 GB, free: 41.57 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3957, allocations: 12.88 kB / 0.5711 GB, free: 41.56 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.3957, allocations: 17.61 kB / 0.5711 GB, free: 41.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.235e-05/0.3958, allocations: 312.1 kB / 0.5714 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.3958, allocations: 7.094 kB / 0.5714 GB, free: 41.22 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.3958, allocations: 11.95 kB / 0.5715 GB, free: 41.21 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.3959, allocations: 25.42 kB / 0.5715 GB, free: 41.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3959, allocations: 0.7812 kB / 0.5715 GB, free: 41.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.135e-05/0.3959, allocations: 55.41 kB / 0.5715 GB, free: 41.15 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.3959, allocations: 5.625 kB / 0.5715 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3959, allocations: 3.938 kB / 0.5715 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.396, allocations: 1.094 kB / 0.5715 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.836e-05/0.396, allocations: 5.719 kB / 0.5715 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.396, allocations: 3.984 kB / 0.5716 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.396, allocations: 5.062 kB / 0.5716 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.396, allocations: 1.125 kB / 0.5716 GB, free: 41.14 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.3961, allocations: 116 kB / 0.5717 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.3961, allocations: 1.156 kB / 0.5717 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.3962, allocations: 72.8 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3962, allocations: 1.406 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3962, allocations: 0 / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3962, allocations: 1.625 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.632e-05/0.3963, allocations: 163.1 kB / 0.5719 GB, free: 40.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3963, allocations: 5.375 kB / 0.5719 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.3964, allocations: 8.406 kB / 0.5719 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3964, allocations: 0 / 0.5719 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3964, allocations: 13.36 kB / 0.5719 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3964, allocations: 0 / 0.5719 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3964, allocations: 1.438 kB / 0.5719 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.3965, allocations: 102.1 kB / 0.572 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.3965, allocations: 77.11 kB / 0.5721 GB, free: 40.55 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.3965, allocations: 5.688 kB / 0.5721 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.3966, allocations: 12.03 kB / 0.5721 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.3966, allocations: 2.5 kB / 0.5721 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3966, allocations: 1.312 kB / 0.5721 GB, free: 40.53 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.409e-05/0.3966, allocations: 81.5 kB / 0.5722 GB, free: 40.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3966, allocations: 0 / 0.5722 GB, free: 40.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001838/0.3968, allocations: 11 kB / 0.5722 GB, free: 40.45 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.562e-05/0.3969, allocations: 104 kB / 0.5723 GB, free: 40.35 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.656e-05/0.397, allocations: 35.58 kB / 0.5723 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.397, allocations: 0 / 0.5723 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.397, allocations: 14.88 kB / 0.5724 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.3971, allocations: 6.812 kB / 0.5724 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.3973, allocations: 145.2 kB / 0.5725 GB, free: 40.18 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.094e-05/0.3974, allocations: 0.6795 MB / 0.5732 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.407e-05/0.3974, allocations: 10.7 kB / 0.5732 GB, free: 39.47 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.3974, allocations: 14.12 kB / 0.5732 GB, free: 39.46 MB / 462.3 MB Notification: Performance of SimCode: time 1.91e-07/0.3975, allocations: 0 / 0.5732 GB, free: 39.46 MB / 462.3 MB Notification: Performance of Templates: time 0.001935/0.3994, allocations: 0.5618 MB / 0.5737 GB, free: 39.17 MB / 462.3 MB 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