Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.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_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_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.001072/0.001072, allocations: 182.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009442, allocations: 102.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.6497/0.6497, allocations: 119.3 MB / 460.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008976/0.0008976, allocations: 47.92 kB / 0.5391 GB, free: 43.22 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.106, allocations: 80.69 MB / 0.6179 GB, free: 12.72 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001353/0.1074, allocations: 476.5 kB / 0.6184 GB, free: 12.25 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003827/0.1078, allocations: 223.7 kB / 0.6186 GB, free: 12.04 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.1078, allocations: 0 / 0.6186 GB, free: 12.04 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.1078, allocations: 3.938 kB / 0.6186 GB, free: 12.04 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.108, allocations: 4 kB / 0.6186 GB, free: 12.03 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.288e-05/0.1081, allocations: 15.98 kB / 0.6186 GB, free: 12.02 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 3.891e-05/0.1081, allocations: 11.92 kB / 0.6186 GB, free: 12 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.1081, allocations: 7.938 kB / 0.6186 GB, free: 12 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.1082, allocations: 7.984 kB / 0.6186 GB, free: 11.99 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.1082, allocations: 8 kB / 0.6186 GB, free: 11.98 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1082, allocations: 0 / 0.6186 GB, free: 11.98 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.717e-05/0.1083, allocations: 23.97 kB / 0.6187 GB, free: 11.96 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.1083, allocations: 3.938 kB / 0.6187 GB, free: 11.95 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.1083, allocations: 4 kB / 0.6187 GB, free: 11.95 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.62e-05/0.1084, allocations: 27.89 kB / 0.6187 GB, free: 11.92 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1084, allocations: 0 / 0.6187 GB, free: 11.92 MB / 442.8 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1084, allocations: 0 / 0.6187 GB, free: 11.92 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.535e-06/0.1084, allocations: 0 / 0.6187 GB, free: 11.92 MB / 442.8 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.0002873/0.1087, allocations: 331.5 kB / 0.619 GB, free: 11.55 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1088, allocations: 8.031 kB / 0.619 GB, free: 11.54 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.1088, allocations: 8.844 kB / 0.619 GB, free: 11.53 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.1089, allocations: 160.7 kB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-06/0.1089, allocations: 384 / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1089, allocations: 384 / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.677e-05/0.109, allocations: 50.17 kB / 0.6192 GB, free: 11.28 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.109, allocations: 192 / 0.6192 GB, free: 11.28 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.109, allocations: 3.938 kB / 0.6192 GB, free: 11.28 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.109, allocations: 4 kB / 0.6192 GB, free: 11.27 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.1091, allocations: 7.984 kB / 0.6192 GB, free: 11.27 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.1092, allocations: 153.6 kB / 0.6194 GB, free: 11.07 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1094, allocations: 46.59 kB / 0.6194 GB, free: 11.01 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.1094, allocations: 12.86 kB / 0.6195 GB, free: 11 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1094, allocations: 0 / 0.6195 GB, free: 11 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1095, allocations: 42.56 kB / 0.6195 GB, free: 10.95 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1095, allocations: 0 / 0.6195 GB, free: 10.95 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001153/0.1096, allocations: 49.72 kB / 0.6195 GB, free: 10.89 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.1096, allocations: 51.41 kB / 0.6196 GB, free: 10.83 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/0.1097, allocations: 97.84 kB / 0.6197 GB, free: 10.72 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.1097, allocations: 25.7 kB / 0.6197 GB, free: 10.69 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.1097, allocations: 80.14 kB / 0.6198 GB, free: 10.61 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1097, allocations: 15.81 kB / 0.6198 GB, free: 10.59 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1098, allocations: 17.83 kB / 0.6198 GB, free: 10.57 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.1098, allocations: 318.8 kB / 0.6201 GB, free: 10.25 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.1099, allocations: 7.938 kB / 0.6201 GB, free: 10.24 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.1099, allocations: 8 kB / 0.6201 GB, free: 10.23 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.1099, allocations: 24.78 kB / 0.6202 GB, free: 10.21 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1099, allocations: 0 / 0.6202 GB, free: 10.21 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.502e-05/0.11, allocations: 45.69 kB / 0.6202 GB, free: 10.16 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.11, allocations: 8 kB / 0.6202 GB, free: 10.15 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.11, allocations: 3.938 kB / 0.6202 GB, free: 10.14 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.11, allocations: 4 kB / 0.6202 GB, free: 10.14 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.1101, allocations: 8 kB / 0.6202 GB, free: 10.13 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1101, allocations: 3.938 kB / 0.6202 GB, free: 10.13 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.1101, allocations: 4 kB / 0.6202 GB, free: 10.12 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1101, allocations: 3.984 kB / 0.6202 GB, free: 10.12 MB / 442.8 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 5.334e-05/0.1102, allocations: 113.8 kB / 0.6203 GB, free: 10 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.1102, allocations: 4 kB / 0.6203 GB, free: 9.996 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.1103, allocations: 77.11 kB / 0.6204 GB, free: 9.906 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1103, allocations: 336 / 0.6204 GB, free: 9.906 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1104, allocations: 0 / 0.6204 GB, free: 9.906 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1104, allocations: 3.938 kB / 0.6204 GB, free: 9.902 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.933e-05/0.1105, allocations: 165.6 kB / 0.6206 GB, free: 9.691 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1105, allocations: 0 / 0.6206 GB, free: 9.691 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.1105, allocations: 15.92 kB / 0.6206 GB, free: 9.676 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1105, allocations: 0 / 0.6206 GB, free: 9.676 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1105, allocations: 7.938 kB / 0.6206 GB, free: 9.668 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1105, allocations: 0 / 0.6206 GB, free: 9.668 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1106, allocations: 0 / 0.6206 GB, free: 9.668 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008954/0.1115, allocations: 0.9935 MB / 0.6216 GB, free: 8.531 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.1115, allocations: 85.17 kB / 0.6217 GB, free: 8.43 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.1115, allocations: 0 / 0.6217 GB, free: 8.43 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.1115, allocations: 8.031 kB / 0.6217 GB, free: 8.422 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.1115, allocations: 3.984 kB / 0.6217 GB, free: 8.418 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1116, allocations: 0 / 0.6217 GB, free: 8.418 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.594e-05/0.1116, allocations: 79.28 kB / 0.6217 GB, free: 8.34 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 0 / 0.6217 GB, free: 8.34 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002383/0.1118, allocations: 12 kB / 0.6218 GB, free: 8.328 MB / 442.8 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 9.286e-05/0.1119, allocations: 103.3 kB / 0.6219 GB, free: 8.219 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.112, allocations: 23.98 kB / 0.6219 GB, free: 8.195 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.112, allocations: 3.938 kB / 0.6219 GB, free: 8.191 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.1121, allocations: 23.92 kB / 0.6219 GB, free: 8.168 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.1122, allocations: 3.938 kB / 0.6219 GB, free: 8.164 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.1125, allocations: 246.2 kB / 0.6221 GB, free: 7.883 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.1126, allocations: 0.6848 MB / 0.6228 GB, free: 7.172 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.1127, allocations: 7.984 kB / 0.6228 GB, free: 7.164 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.1127, allocations: 7.438 kB / 0.6228 GB, free: 7.156 MB / 442.8 MB Notification: Performance of SimCode: time 2e-07/0.1127, allocations: 0 / 0.6228 GB, free: 7.156 MB / 442.8 MB Notification: Performance of Templates: time 0.002113/0.1148, allocations: 0.6779 MB / 0.6235 GB, free: 6.484 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches