Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.001633/0.001633, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001755/0.001755, allocations: 207.9 kB / 23.73 MB, free: 4.387 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.77 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 0.9861/0.9861, allocations: 120.6 MB / 434.5 MB, free: 0.6328 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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) [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.002039/0.002039, allocations: 67.89 kB / 0.6067 GB, free: 10.77 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1588, allocations: 85.86 MB / 0.6905 GB, free: 4.695 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001654/0.1604, allocations: 396.5 kB / 0.6909 GB, free: 4.312 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.1606, allocations: 31.83 kB / 0.6909 GB, free: 4.281 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.1606, allocations: 4 kB / 0.6909 GB, free: 4.277 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1606, allocations: 0 / 0.6909 GB, free: 4.277 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1607, allocations: 0 / 0.6909 GB, free: 4.277 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.161, allocations: 15.92 kB / 0.6909 GB, free: 4.262 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 3.607e-05/0.1611, allocations: 0 / 0.6909 GB, free: 4.262 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1611, allocations: 0 / 0.6909 GB, free: 4.262 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.081e-05/0.1611, allocations: 7.938 kB / 0.6909 GB, free: 4.254 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.1612, allocations: 0 / 0.6909 GB, free: 4.254 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1612, allocations: 0 / 0.6909 GB, free: 4.254 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.1612, allocations: 7.984 kB / 0.691 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1612, allocations: 12 kB / 0.691 GB, free: 4.234 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.1613, allocations: 0 / 0.691 GB, free: 4.234 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.804e-05/0.1613, allocations: 12.25 kB / 0.691 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1613, allocations: 0 / 0.691 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1613, allocations: 0 / 0.691 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1613, allocations: 0 / 0.691 GB, free: 4.223 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.0003228/0.1617, allocations: 238.4 kB / 0.6912 GB, free: 3.957 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1617, allocations: 12.03 kB / 0.6912 GB, free: 3.945 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.1618, allocations: 34.73 kB / 0.6912 GB, free: 3.902 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1618, allocations: 0.9375 kB / 0.6912 GB, free: 3.902 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.45e-05/0.1619, allocations: 110.4 kB / 0.6914 GB, free: 3.77 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1619, allocations: 8.375 kB / 0.6914 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.1619, allocations: 384 / 0.6914 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.162, allocations: 30.27 kB / 0.6914 GB, free: 3.727 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.162, allocations: 7.938 kB / 0.6914 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.162, allocations: 0 / 0.6914 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.162, allocations: 0 / 0.6914 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.955e-05/0.162, allocations: 11.98 kB / 0.6914 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.1622, allocations: 112.8 kB / 0.6915 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.1623, allocations: 30.55 kB / 0.6915 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.1623, allocations: 4.859 kB / 0.6916 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.1625, allocations: 16.05 kB / 0.6916 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1625, allocations: 30.56 kB / 0.6916 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1625, allocations: 0 / 0.6916 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.1626, allocations: 45.62 kB / 0.6916 GB, free: 3.402 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1627, allocations: 55.41 kB / 0.6917 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.78e-05/0.1627, allocations: 89.86 kB / 0.6918 GB, free: 3.238 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1627, allocations: 29.64 kB / 0.6918 GB, free: 3.203 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.1628, allocations: 80.14 kB / 0.6919 GB, free: 3.121 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1628, allocations: 11.89 kB / 0.6919 GB, free: 3.109 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1628, allocations: 17.84 kB / 0.6919 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.163, allocations: 314.8 kB / 0.6922 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.163, allocations: 4 kB / 0.6922 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.163, allocations: 3.984 kB / 0.6922 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.163, allocations: 12.86 kB / 0.6922 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.163, allocations: 0 / 0.6922 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.521e-05/0.1631, allocations: 37.7 kB / 0.6923 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1631, allocations: 8 kB / 0.6923 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1631, allocations: 3.938 kB / 0.6923 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1631, allocations: 4.094 kB / 0.6923 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.1632, allocations: 7.938 kB / 0.6923 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1632, allocations: 0 / 0.6923 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.1632, allocations: 3.984 kB / 0.6923 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1632, allocations: 3.984 kB / 0.6923 GB, free: 2.672 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.611e-05/0.1633, allocations: 109.8 kB / 0.6924 GB, free: 2.555 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.1633, allocations: 0 / 0.6924 GB, free: 2.555 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1634, allocations: 56.67 kB / 0.6925 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1634, allocations: 0 / 0.6925 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1634, allocations: 4.031 kB / 0.6925 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1634, allocations: 0 / 0.6925 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1635, allocations: 116.8 kB / 0.6926 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1635, allocations: 0 / 0.6926 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.1635, allocations: 4 kB / 0.6926 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1635, allocations: 0 / 0.6926 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1635, allocations: 11.88 kB / 0.6926 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1635, allocations: 0 / 0.6926 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1635, allocations: 3.984 kB / 0.6926 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.202e-05/0.1636, allocations: 65.08 kB / 0.6927 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-06/0.1636, allocations: 4 kB / 0.6927 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1636, allocations: 7.969 kB / 0.6927 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.1637, allocations: 4 kB / 0.6927 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.1637, allocations: 3.984 kB / 0.6927 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1637, allocations: 4 kB / 0.6927 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.1637, allocations: 75.28 kB / 0.6927 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1637, allocations: 0 / 0.6927 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001983/0.1639, allocations: 0 / 0.6927 GB, free: 2.133 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.000526/0.1644, allocations: 0.6011 MB / 0.6933 GB, free: 1.5 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.1645, allocations: 12.03 kB / 0.6933 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1645, allocations: 0 / 0.6933 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.1645, allocations: 4 kB / 0.6933 GB, free: 1.484 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1646, allocations: 3.938 kB / 0.6934 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.165, allocations: 118.6 kB / 0.6935 GB, free: 1.324 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.165, allocations: 55.36 kB / 0.6935 GB, free: 1.25 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.165, allocations: 3.984 kB / 0.6935 GB, free: 1.246 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.1651, allocations: 7.562 kB / 0.6935 GB, free: 1.238 MB / 0.5139 GB Notification: Performance of SimCode: time 4.31e-07/0.1651, allocations: 8 kB / 0.6935 GB, free: 1.23 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1928, allocations: 1.511 MB / 0.695 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.13, allocations: 15.91 kB / 0.695 GB, free: 15.83 MB / 0.5295 GB " [Timeout remaining time 289] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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: 15.056918923277408]