Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.0009957, 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.3424/0.3424, allocations: 225.7 MB / 243 MB, free: 4.16 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.0009067/0.0009067, allocations: 99.84 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.3845/0.3845, allocations: 119.5 MB / 462.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008638/0.0008639, allocations: 51.92 kB / 0.5413 GB, free: 10.64 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1062, allocations: 80.71 MB / 0.6201 GB, free: 9.797 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001116/0.1074, allocations: 444.5 kB / 0.6206 GB, free: 9.359 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002923/0.1077, allocations: 176.1 kB / 0.6207 GB, free: 9.191 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.004e-05/0.1077, allocations: 0 / 0.6207 GB, free: 9.191 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.1077, allocations: 4 kB / 0.6207 GB, free: 9.188 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.1078, allocations: 0 / 0.6207 GB, free: 9.188 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.1079, allocations: 7.984 kB / 0.6207 GB, free: 9.18 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 3.365e-05/0.1079, allocations: 7.938 kB / 0.6207 GB, free: 9.172 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.108, allocations: 7.938 kB / 0.6208 GB, free: 9.164 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.225e-05/0.108, allocations: 0 / 0.6208 GB, free: 9.164 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.108, allocations: 0 / 0.6208 GB, free: 9.164 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.108, allocations: 0 / 0.6208 GB, free: 9.164 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-05/0.1081, allocations: 15.92 kB / 0.6208 GB, free: 9.148 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1081, allocations: 3.984 kB / 0.6208 GB, free: 9.145 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.223e-05/0.1081, allocations: 8 kB / 0.6208 GB, free: 9.137 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 5.575e-05/0.1082, allocations: 7.984 kB / 0.6208 GB, free: 9.129 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1082, allocations: 0 / 0.6208 GB, free: 9.129 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1082, allocations: 4 kB / 0.6208 GB, free: 9.125 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.1082, allocations: 0 / 0.6208 GB, free: 9.125 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002011/0.1084, allocations: 319 kB / 0.6211 GB, free: 8.766 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.1084, allocations: 8.031 kB / 0.6211 GB, free: 8.758 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.1085, allocations: 4.938 kB / 0.6211 GB, free: 8.754 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.118e-05/0.1085, allocations: 160.4 kB / 0.6213 GB, free: 8.559 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1085, allocations: 4.375 kB / 0.6213 GB, free: 8.555 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1086, allocations: 4.375 kB / 0.6213 GB, free: 8.551 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.049e-05/0.1086, allocations: 30.44 kB / 0.6213 GB, free: 8.516 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-06/0.1086, allocations: 0 / 0.6213 GB, free: 8.516 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1086, allocations: 7.938 kB / 0.6213 GB, free: 8.508 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.1087, allocations: 3.938 kB / 0.6213 GB, free: 8.504 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.1087, allocations: 0 / 0.6213 GB, free: 8.504 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.765e-05/0.1088, allocations: 157.6 kB / 0.6215 GB, free: 8.301 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.1088, allocations: 26.59 kB / 0.6215 GB, free: 8.266 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.1089, allocations: 16.92 kB / 0.6215 GB, free: 8.246 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.109, allocations: 85.09 kB / 0.6216 GB, free: 8.145 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.109, allocations: 30.56 kB / 0.6216 GB, free: 8.105 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.109, allocations: 0 / 0.6216 GB, free: 8.105 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 9.805e-05/0.1091, allocations: 49.58 kB / 0.6217 GB, free: 8.051 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.1092, allocations: 55.53 kB / 0.6217 GB, free: 7.984 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.398e-05/0.1092, allocations: 89.86 kB / 0.6218 GB, free: 7.887 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.1092, allocations: 25.7 kB / 0.6218 GB, free: 7.855 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.1092, allocations: 80.14 kB / 0.6219 GB, free: 7.773 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1093, allocations: 7.891 kB / 0.6219 GB, free: 7.766 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.1093, allocations: 17.72 kB / 0.6219 GB, free: 7.742 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.1094, allocations: 310.8 kB / 0.6222 GB, free: 7.43 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.1094, allocations: 4 kB / 0.6222 GB, free: 7.426 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.1094, allocations: 4 kB / 0.6222 GB, free: 7.422 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.1094, allocations: 16.8 kB / 0.6222 GB, free: 7.402 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1094, allocations: 0 / 0.6222 GB, free: 7.402 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.463e-05/0.1095, allocations: 37.69 kB / 0.6223 GB, free: 7.359 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1095, allocations: 11.94 kB / 0.6223 GB, free: 7.348 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.1095, allocations: 0 / 0.6223 GB, free: 7.348 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.1095, allocations: 3.938 kB / 0.6223 GB, free: 7.344 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.888e-05/0.1095, allocations: 4 kB / 0.6223 GB, free: 7.34 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.1096, allocations: 0 / 0.6223 GB, free: 7.34 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.1096, allocations: 4.375 kB / 0.6223 GB, free: 7.336 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.1096, allocations: 0 / 0.6223 GB, free: 7.336 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 (2): * Single equations (assignments): 2 * 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.946e-05/0.1096, allocations: 114.2 kB / 0.6224 GB, free: 7.215 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.1096, allocations: 4 kB / 0.6224 GB, free: 7.211 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.1097, allocations: 56.53 kB / 0.6225 GB, free: 7.145 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1097, allocations: 4 kB / 0.6225 GB, free: 7.141 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1097, allocations: 0 / 0.6225 GB, free: 7.141 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1097, allocations: 0 / 0.6225 GB, free: 7.141 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.975e-05/0.1098, allocations: 149.7 kB / 0.6226 GB, free: 6.945 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1098, allocations: 0 / 0.6226 GB, free: 6.945 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.1098, allocations: 4 kB / 0.6226 GB, free: 6.941 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1098, allocations: 0 / 0.6226 GB, free: 6.941 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1098, allocations: 7.875 kB / 0.6226 GB, free: 6.934 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1099, allocations: 4 kB / 0.6226 GB, free: 6.93 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1099, allocations: 0 / 0.6226 GB, free: 6.93 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.531e-05/0.1099, allocations: 65.06 kB / 0.6227 GB, free: 6.848 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.1099, allocations: 81.14 kB / 0.6228 GB, free: 6.75 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.11, allocations: 3.938 kB / 0.6228 GB, free: 6.746 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-06/0.11, allocations: 0 / 0.6228 GB, free: 6.746 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.11, allocations: 4 kB / 0.6228 GB, free: 6.742 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.11, allocations: 0 / 0.6228 GB, free: 6.742 MB / 442.8 MB Notification: Performance of sorting global known variables: time 1.724e-05/0.11, allocations: 79.28 kB / 0.6229 GB, free: 6.664 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/0.11, allocations: 0 / 0.6229 GB, free: 6.664 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001372/0.1102, allocations: 4 kB / 0.6229 GB, free: 6.66 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.267e-05/0.1102, allocations: 101.9 kB / 0.623 GB, free: 6.551 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 4.594e-05/0.1103, allocations: 8 kB / 0.623 GB, free: 6.543 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1103, allocations: 0 / 0.623 GB, free: 6.543 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.1103, allocations: 4 kB / 0.623 GB, free: 6.539 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.654e-05/0.1104, allocations: 7.938 kB / 0.623 GB, free: 6.531 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001357/0.1106, allocations: 88.86 kB / 0.6231 GB, free: 6.418 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.1107, allocations: 0.6729 MB / 0.6237 GB, free: 5.719 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.1108, allocations: 4.125 kB / 0.6237 GB, free: 5.715 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/0.1108, allocations: 7.438 kB / 0.6237 GB, free: 5.707 MB / 442.8 MB Notification: Performance of SimCode: time 2.3e-07/0.1108, allocations: 0 / 0.6237 GB, free: 5.707 MB / 442.8 MB Notification: Performance of Templates: time 0.002213/0.113, allocations: 382.9 kB / 0.6241 GB, free: 5.324 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches