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.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-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.001001/0.001002, allocations: 189.6 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3493/0.3493, allocations: 225.6 MB / 243 MB, free: 4.125 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.0009032/0.0009032, allocations: 100.8 kB / 293.2 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3923/0.3923, allocations: 119.5 MB / 462.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008611/0.0008611, allocations: 51.91 kB / 0.5413 GB, free: 10.63 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1027, allocations: 80.69 MB / 0.6201 GB, free: 9.797 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001138/0.1038, allocations: 472.4 kB / 0.6206 GB, free: 9.332 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.1042, allocations: 227.9 kB / 0.6208 GB, free: 9.113 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.349e-05/0.1042, allocations: 0 / 0.6208 GB, free: 9.113 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.1042, allocations: 0 / 0.6208 GB, free: 9.113 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1044, allocations: 7.938 kB / 0.6208 GB, free: 9.105 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.483e-05/0.1045, allocations: 19.97 kB / 0.6208 GB, free: 9.086 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 3.842e-05/0.1045, allocations: 8 kB / 0.6208 GB, free: 9.078 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.1045, allocations: 7.938 kB / 0.6208 GB, free: 9.07 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.1046, allocations: 11.94 kB / 0.6208 GB, free: 9.059 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.1046, allocations: 7.969 kB / 0.6208 GB, free: 9.051 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.1046, allocations: 3.938 kB / 0.6208 GB, free: 9.047 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.1047, allocations: 19.98 kB / 0.6209 GB, free: 9.027 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.1047, allocations: 7.938 kB / 0.6209 GB, free: 9.02 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.476e-05/0.1047, allocations: 3.984 kB / 0.6209 GB, free: 9.016 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.086e-05/0.1048, allocations: 23.91 kB / 0.6209 GB, free: 8.992 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1048, allocations: 0 / 0.6209 GB, free: 8.992 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1048, allocations: 4 kB / 0.6209 GB, free: 8.988 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.1048, allocations: 4 kB / 0.6209 GB, free: 8.984 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.0002547/0.1051, allocations: 319.6 kB / 0.6212 GB, free: 8.621 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.1051, allocations: 12.03 kB / 0.6212 GB, free: 8.609 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.1051, allocations: 4.844 kB / 0.6212 GB, free: 8.605 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.621e-05/0.1052, allocations: 164.7 kB / 0.6214 GB, free: 8.406 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.1052, allocations: 384 / 0.6214 GB, free: 8.406 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1053, allocations: 4.375 kB / 0.6214 GB, free: 8.402 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.226e-05/0.1053, allocations: 42.42 kB / 0.6214 GB, free: 8.355 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.1053, allocations: 0 / 0.6214 GB, free: 8.355 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1054, allocations: 7.938 kB / 0.6214 GB, free: 8.348 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1054, allocations: 0 / 0.6214 GB, free: 8.348 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.1054, allocations: 7.938 kB / 0.6214 GB, free: 8.34 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.1055, allocations: 157.6 kB / 0.6216 GB, free: 8.137 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1057, allocations: 42.61 kB / 0.6216 GB, free: 8.086 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.1057, allocations: 21 kB / 0.6216 GB, free: 8.062 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.1057, allocations: 0 / 0.6216 GB, free: 8.062 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.1057, allocations: 34.56 kB / 0.6217 GB, free: 8.02 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.1057, allocations: 0 / 0.6217 GB, free: 8.02 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001127/0.1059, allocations: 53.56 kB / 0.6217 GB, free: 7.961 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.1059, allocations: 55.41 kB / 0.6218 GB, free: 7.895 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.133e-05/0.1059, allocations: 89.86 kB / 0.6219 GB, free: 7.797 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.106, allocations: 29.7 kB / 0.6219 GB, free: 7.762 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/0.106, allocations: 88.12 kB / 0.622 GB, free: 7.672 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.106, allocations: 11.94 kB / 0.622 GB, free: 7.66 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.106, allocations: 17.72 kB / 0.622 GB, free: 7.637 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.1061, allocations: 310.8 kB / 0.6223 GB, free: 7.324 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.1061, allocations: 11.98 kB / 0.6223 GB, free: 7.312 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/0.1062, allocations: 8 kB / 0.6223 GB, free: 7.305 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.378e-05/0.1062, allocations: 24.73 kB / 0.6223 GB, free: 7.277 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1062, allocations: 0 / 0.6223 GB, free: 7.277 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.204e-05/0.1063, allocations: 49.69 kB / 0.6224 GB, free: 7.223 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1063, allocations: 7.984 kB / 0.6224 GB, free: 7.215 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1063, allocations: 7.938 kB / 0.6224 GB, free: 7.207 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.1063, allocations: 3.938 kB / 0.6224 GB, free: 7.203 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.639e-05/0.1063, allocations: 8 kB / 0.6224 GB, free: 7.195 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.1063, allocations: 0 / 0.6224 GB, free: 7.195 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.1064, allocations: 4 kB / 0.6224 GB, free: 7.191 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.1064, allocations: 0 / 0.6224 GB, free: 7.191 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 4.858e-05/0.1064, allocations: 110.2 kB / 0.6225 GB, free: 7.074 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.1064, allocations: 0 / 0.6225 GB, free: 7.074 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1066, allocations: 81.05 kB / 0.6226 GB, free: 6.98 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1066, allocations: 0 / 0.6226 GB, free: 6.98 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-06/0.1066, allocations: 4 kB / 0.6226 GB, free: 6.977 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1066, allocations: 336 / 0.6226 GB, free: 6.977 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.807e-05/0.1067, allocations: 157.6 kB / 0.6228 GB, free: 6.773 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1067, allocations: 7.984 kB / 0.6228 GB, free: 6.766 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.1067, allocations: 8 kB / 0.6228 GB, free: 6.758 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1067, allocations: 3.984 kB / 0.6228 GB, free: 6.754 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1067, allocations: 7.938 kB / 0.6228 GB, free: 6.746 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1068, allocations: 4 kB / 0.6228 GB, free: 6.742 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1068, allocations: 0 / 0.6228 GB, free: 6.742 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.1069, allocations: 97.05 kB / 0.6229 GB, free: 6.629 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.1069, allocations: 85.08 kB / 0.623 GB, free: 6.527 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1069, allocations: 8.062 kB / 0.623 GB, free: 6.52 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.816e-05/0.1069, allocations: 4 kB / 0.623 GB, free: 6.516 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.107, allocations: 4 kB / 0.623 GB, free: 6.512 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.107, allocations: 3.984 kB / 0.623 GB, free: 6.508 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.093e-05/0.107, allocations: 83.34 kB / 0.6231 GB, free: 6.426 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.107, allocations: 0 / 0.6231 GB, free: 6.426 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001467/0.1072, allocations: 12 kB / 0.6231 GB, free: 6.414 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 8.911e-05/0.1072, allocations: 105.2 kB / 0.6232 GB, free: 6.301 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 6.546e-05/0.1073, allocations: 23.92 kB / 0.6232 GB, free: 6.277 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1073, allocations: 3.938 kB / 0.6232 GB, free: 6.273 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.1074, allocations: 19.98 kB / 0.6232 GB, free: 6.254 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.1075, allocations: 8.094 kB / 0.6232 GB, free: 6.246 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.1077, allocations: 133.4 kB / 0.6234 GB, free: 6.09 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.1079, allocations: 0.6768 MB / 0.624 GB, free: 5.387 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.202e-05/0.1079, allocations: 4 kB / 0.624 GB, free: 5.383 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.1079, allocations: 11.44 kB / 0.624 GB, free: 5.371 MB / 442.8 MB Notification: Performance of SimCode: time 2.5e-07/0.1079, allocations: 4 kB / 0.624 GB, free: 5.367 MB / 442.8 MB Notification: Performance of Templates: time 0.002425/0.1104, allocations: 0.6416 MB / 0.6247 GB, free: 4.738 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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