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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 73.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 158.6 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.324/1.324, allocations: 177.2 MB / 204.9 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.8213/0.8213, allocations: 88.07 MB / 349.3 MB, free: 1.32 MB / 318.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.5 kB / 0.524 GB, free: 8.242 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1355, allocations: 85.85 MB / 0.6078 GB, free: 4.863 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001464/0.1369, allocations: 413.1 kB / 0.6082 GB, free: 4.461 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004405/0.1374, allocations: 222.5 kB / 0.6084 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.1374, allocations: 0 / 0.6084 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1374, allocations: 3.938 kB / 0.6084 GB, free: 4.242 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1375, allocations: 3.984 kB / 0.6084 GB, free: 4.238 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.1376, allocations: 31.91 kB / 0.6084 GB, free: 4.207 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.1377, allocations: 15.94 kB / 0.6085 GB, free: 4.191 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.1377, allocations: 3.984 kB / 0.6085 GB, free: 4.188 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.1377, allocations: 8 kB / 0.6085 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.1378, allocations: 3.938 kB / 0.6085 GB, free: 4.176 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1378, allocations: 4 kB / 0.6085 GB, free: 4.172 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1379, allocations: 23.97 kB / 0.6085 GB, free: 4.148 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.1379, allocations: 7.922 kB / 0.6085 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.1379, allocations: 4 kB / 0.6085 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.864e-05/0.138, allocations: 31.83 kB / 0.6085 GB, free: 4.105 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.138, allocations: 4 kB / 0.6085 GB, free: 4.102 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.022e-06/0.138, allocations: 0 / 0.6085 GB, free: 4.102 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.138, allocations: 0 / 0.6085 GB, free: 4.102 MB / 0.5139 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.0003174/0.1383, allocations: 250.3 kB / 0.6088 GB, free: 3.824 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.1383, allocations: 12.03 kB / 0.6088 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.1384, allocations: 0.9375 kB / 0.6088 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.1385, allocations: 110.5 kB / 0.6089 GB, free: 3.68 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1385, allocations: 4.375 kB / 0.6089 GB, free: 3.676 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1385, allocations: 4.312 kB / 0.6089 GB, free: 3.672 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.85e-05/0.1386, allocations: 38.25 kB / 0.6089 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1386, allocations: 192 / 0.6089 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1386, allocations: 3.938 kB / 0.609 GB, free: 3.625 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.1386, allocations: 0 / 0.609 GB, free: 3.625 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.1386, allocations: 11.98 kB / 0.609 GB, free: 3.613 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.1387, allocations: 101.3 kB / 0.6091 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1389, allocations: 46.55 kB / 0.6091 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.1389, allocations: 13 kB / 0.6091 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.139, allocations: 0 / 0.6091 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.139, allocations: 34.56 kB / 0.6092 GB, free: 3.371 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.139, allocations: 0 / 0.6092 GB, free: 3.371 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001236/0.1391, allocations: 49.62 kB / 0.6092 GB, free: 3.316 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1391, allocations: 55.41 kB / 0.6093 GB, free: 3.25 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.1392, allocations: 97.8 kB / 0.6093 GB, free: 3.145 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1392, allocations: 25.7 kB / 0.6094 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.1393, allocations: 92.25 kB / 0.6095 GB, free: 3.02 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.1393, allocations: 11.84 kB / 0.6095 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1393, allocations: 17.72 kB / 0.6095 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1395, allocations: 310.8 kB / 0.6098 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.1395, allocations: 11.98 kB / 0.6098 GB, free: 2.66 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/0.1395, allocations: 4 kB / 0.6098 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.1395, allocations: 16.86 kB / 0.6098 GB, free: 2.637 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1395, allocations: 0 / 0.6098 GB, free: 2.637 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.701e-05/0.1396, allocations: 54.02 kB / 0.6099 GB, free: 2.578 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.1396, allocations: 4 kB / 0.6099 GB, free: 2.574 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1396, allocations: 7.969 kB / 0.6099 GB, free: 2.566 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1396, allocations: 15.94 kB / 0.6099 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.144e-05/0.1397, allocations: 7.938 kB / 0.6099 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.1397, allocations: 0 / 0.6099 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.1397, allocations: 3.938 kB / 0.6099 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1397, allocations: 4 kB / 0.6099 GB, free: 2.535 MB / 0.5139 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 () * 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 7.411e-05/0.1398, allocations: 113.7 kB / 0.61 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.1398, allocations: 0 / 0.61 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.1399, allocations: 73.36 kB / 0.6101 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.1399, allocations: 7.938 kB / 0.6101 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1399, allocations: 0 / 0.6101 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1399, allocations: 0 / 0.6101 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.14, allocations: 113.3 kB / 0.6102 GB, free: 2.184 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.14, allocations: 0 / 0.6102 GB, free: 2.184 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.1401, allocations: 15.94 kB / 0.6102 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1401, allocations: 0 / 0.6102 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1401, allocations: 0 / 0.6102 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1401, allocations: 0 / 0.6102 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1401, allocations: 3.938 kB / 0.6102 GB, free: 2.164 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.1403, allocations: 97.11 kB / 0.6103 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.1403, allocations: 8.062 kB / 0.6103 GB, free: 2.043 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1403, allocations: 4.031 kB / 0.6103 GB, free: 2.039 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.1403, allocations: 0 / 0.6103 GB, free: 2.039 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.1403, allocations: 7.922 kB / 0.6103 GB, free: 2.031 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1403, allocations: 7.938 kB / 0.6103 GB, free: 2.023 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.1404, allocations: 75.28 kB / 0.6104 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1404, allocations: 0 / 0.6104 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001835/0.1405, allocations: 12 kB / 0.6104 GB, free: 1.938 MB / 0.5139 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 () * 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 0.0001209/0.1407, allocations: 111.1 kB / 0.6105 GB, free: 1.816 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.1407, allocations: 32.08 kB / 0.6106 GB, free: 1.785 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1407, allocations: 0 / 0.6106 GB, free: 1.785 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.1408, allocations: 24.06 kB / 0.6106 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.1409, allocations: 4 kB / 0.6106 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.1411, allocations: 129.5 kB / 0.6107 GB, free: 1.605 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.446e-05/0.1412, allocations: 63.34 kB / 0.6108 GB, free: 1.523 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.1412, allocations: 4 kB / 0.6108 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.1412, allocations: 16.5 kB / 0.6108 GB, free: 1.504 MB / 0.5139 GB Notification: Performance of SimCode: time 2.91e-07/0.1412, allocations: 0 / 0.6108 GB, free: 1.504 MB / 0.5139 GB Notification: Performance of Templates: time 0.002641/0.1439, allocations: 0.61 MB / 0.6114 GB, free: 0.8984 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035181647981517]