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/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.001663/0.001663, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001902/0.001902, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 1.017/1.017, allocations: 120.6 MB / 435.3 MB, free: 0.8477 MB / 334.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.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=49999,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=49999,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") [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.001962/0.001962, allocations: 63.91 kB / 0.608 GB, free: 10.48 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1593, allocations: 85.86 MB / 0.6918 GB, free: 4.402 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001569/0.1609, allocations: 401.2 kB / 0.6922 GB, free: 4.012 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004259/0.1613, allocations: 186.8 kB / 0.6924 GB, free: 3.832 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.1613, allocations: 3.938 kB / 0.6924 GB, free: 3.828 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.1614, allocations: 4 kB / 0.6924 GB, free: 3.824 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.1614, allocations: 0 / 0.6924 GB, free: 3.824 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1616, allocations: 11.94 kB / 0.6924 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.1616, allocations: 4 kB / 0.6924 GB, free: 3.809 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.1617, allocations: 3.984 kB / 0.6924 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.564e-05/0.1617, allocations: 0 / 0.6924 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.1617, allocations: 7.938 kB / 0.6924 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1617, allocations: 0 / 0.6924 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.1618, allocations: 15.98 kB / 0.6924 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.1618, allocations: 0 / 0.6924 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1618, allocations: 11.98 kB / 0.6924 GB, free: 3.77 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.658e-05/0.1619, allocations: 19.92 kB / 0.6924 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1619, allocations: 0 / 0.6924 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1619, allocations: 0 / 0.6924 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1619, allocations: 0 / 0.6924 GB, free: 3.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002828/0.1622, allocations: 238.5 kB / 0.6927 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1623, allocations: 12.03 kB / 0.6927 GB, free: 3.473 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.1623, allocations: 0.9375 kB / 0.6927 GB, free: 3.473 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.64e-05/0.1624, allocations: 106.9 kB / 0.6928 GB, free: 3.344 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1624, allocations: 384 / 0.6928 GB, free: 3.344 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.1624, allocations: 4.375 kB / 0.6928 GB, free: 3.34 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.1625, allocations: 38.14 kB / 0.6928 GB, free: 3.297 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1625, allocations: 192 / 0.6928 GB, free: 3.297 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1625, allocations: 3.938 kB / 0.6928 GB, free: 3.293 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1625, allocations: 4 kB / 0.6928 GB, free: 3.289 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.1625, allocations: 7.984 kB / 0.6928 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.1627, allocations: 116.8 kB / 0.693 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.1627, allocations: 26.61 kB / 0.693 GB, free: 3.09 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.1628, allocations: 12.92 kB / 0.693 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.1629, allocations: 7.984 kB / 0.693 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.163, allocations: 34.5 kB / 0.693 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.163, allocations: 0 / 0.693 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.1631, allocations: 49.62 kB / 0.6931 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1631, allocations: 51.53 kB / 0.6931 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.1632, allocations: 93.86 kB / 0.6932 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1632, allocations: 25.7 kB / 0.6932 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.1632, allocations: 80.14 kB / 0.6933 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1633, allocations: 3.953 kB / 0.6933 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.1633, allocations: 17.72 kB / 0.6933 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1634, allocations: 310.8 kB / 0.6936 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.1634, allocations: 0 / 0.6936 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.1634, allocations: 15.86 kB / 0.6937 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.1635, allocations: 16.92 kB / 0.6937 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1635, allocations: 0 / 0.6937 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.571e-05/0.1635, allocations: 33.7 kB / 0.6937 GB, free: 2.277 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1635, allocations: 8 kB / 0.6937 GB, free: 2.27 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1635, allocations: 0 / 0.6937 GB, free: 2.27 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1635, allocations: 3.938 kB / 0.6937 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.1636, allocations: 4 kB / 0.6937 GB, free: 2.262 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1636, allocations: 3.984 kB / 0.6937 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.1636, allocations: 4 kB / 0.6937 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.1636, allocations: 4.031 kB / 0.6937 GB, free: 2.25 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 (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 7.08e-05/0.1637, allocations: 105.8 kB / 0.6938 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.1637, allocations: 7.938 kB / 0.6938 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.364e-05/0.1638, allocations: 48.73 kB / 0.6939 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1638, allocations: 4 kB / 0.6939 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1638, allocations: 0 / 0.6939 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1638, allocations: 3.938 kB / 0.6939 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.684e-05/0.1639, allocations: 116.8 kB / 0.694 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1639, allocations: 0 / 0.694 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.1639, allocations: 4 kB / 0.694 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1639, allocations: 0 / 0.694 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1639, allocations: 11.92 kB / 0.694 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1639, allocations: 4 kB / 0.694 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1639, allocations: 0 / 0.694 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.969e-05/0.164, allocations: 69.03 kB / 0.6941 GB, free: 1.805 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-06/0.164, allocations: 4.031 kB / 0.6941 GB, free: 1.801 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.164, allocations: 7.922 kB / 0.6941 GB, free: 1.793 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.164, allocations: 4 kB / 0.6941 GB, free: 1.789 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.1641, allocations: 0 / 0.6941 GB, free: 1.789 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.1641, allocations: 0 / 0.6941 GB, free: 1.789 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.1641, allocations: 75.28 kB / 0.6942 GB, free: 1.715 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1641, allocations: 0 / 0.6942 GB, free: 1.715 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000185/0.1643, allocations: 4 kB / 0.6942 GB, free: 1.711 MB / 0.5139 GB 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 0.0001194/0.1644, allocations: 107.2 kB / 0.6943 GB, free: 1.594 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.462e-05/0.1645, allocations: 11.98 kB / 0.6943 GB, free: 1.582 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1645, allocations: 0 / 0.6943 GB, free: 1.582 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-06/0.1645, allocations: 7.938 kB / 0.6943 GB, free: 1.574 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1646, allocations: 5.688 kB / 0.6943 GB, free: 1.57 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.1648, allocations: 110.7 kB / 0.6944 GB, free: 1.43 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1651, allocations: 0.6729 MB / 0.6951 GB, free: 0.7305 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.1651, allocations: 15.38 kB / 0.6951 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of SimCode: time 3.2e-07/0.1651, allocations: 4.125 kB / 0.6951 GB, free: 0.7109 MB / 0.5139 GB Notification: Performance of Templates: time 0.002011/0.1671, allocations: 467.6 kB / 0.6955 GB, free: 260 kB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile [Timeout 300] (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) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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: 8.252480568829924]