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.001521/0.001521, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.00172/0.00172, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.014/1.014, allocations: 120.6 MB / 435.3 MB, free: 0.6406 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="cs",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.001929/0.001929, allocations: 63.91 kB / 0.6074 GB, free: 10.76 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1705, allocations: 85.86 MB / 0.6913 GB, free: 4.684 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.00148/0.172, allocations: 388.5 kB / 0.6916 GB, free: 4.309 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002101/0.1722, allocations: 27.89 kB / 0.6917 GB, free: 4.281 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.1723, allocations: 0 / 0.6917 GB, free: 4.281 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.1723, allocations: 4 kB / 0.6917 GB, free: 4.277 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.1723, allocations: 0 / 0.6917 GB, free: 4.277 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.1725, allocations: 15.92 kB / 0.6917 GB, free: 4.262 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.72e-05/0.1725, allocations: 7.984 kB / 0.6917 GB, free: 4.254 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.1726, allocations: 0 / 0.6917 GB, free: 4.254 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.1726, allocations: 3.938 kB / 0.6917 GB, free: 4.25 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.1726, allocations: 4 kB / 0.6917 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1726, allocations: 0 / 0.6917 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.1727, allocations: 11.98 kB / 0.6917 GB, free: 4.234 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1727, allocations: 0 / 0.6917 GB, free: 4.234 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.1727, allocations: 0 / 0.6917 GB, free: 4.234 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.498e-05/0.1728, allocations: 12.27 kB / 0.6917 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1728, allocations: 4 kB / 0.6917 GB, free: 4.219 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1728, allocations: 0 / 0.6917 GB, free: 4.219 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1728, allocations: 0 / 0.6917 GB, free: 4.219 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.0003064/0.1731, allocations: 246.3 kB / 0.692 GB, free: 3.945 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1732, allocations: 8.031 kB / 0.692 GB, free: 3.938 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.575e-05/0.1732, allocations: 4.188 kB / 0.692 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.1732, allocations: 30.75 kB / 0.692 GB, free: 3.895 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.1733, allocations: 0.9375 kB / 0.692 GB, free: 3.895 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.1733, allocations: 102.5 kB / 0.6921 GB, free: 3.77 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1733, allocations: 12.3 kB / 0.6921 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1734, allocations: 4.375 kB / 0.6921 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1735, allocations: 38 kB / 0.6922 GB, free: 3.711 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1735, allocations: 4 kB / 0.6922 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1735, allocations: 0 / 0.6922 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1735, allocations: 0 / 0.6922 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.1735, allocations: 4 kB / 0.6922 GB, free: 3.703 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.1737, allocations: 124.7 kB / 0.6923 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.1737, allocations: 22.55 kB / 0.6923 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.1737, allocations: 8.922 kB / 0.6923 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.1739, allocations: 19.98 kB / 0.6923 GB, free: 3.477 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.174, allocations: 34.5 kB / 0.6924 GB, free: 3.434 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.174, allocations: 0 / 0.6924 GB, free: 3.434 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.000138/0.1741, allocations: 33.7 kB / 0.6924 GB, free: 3.395 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1742, allocations: 51.41 kB / 0.6924 GB, free: 3.332 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.1742, allocations: 97.86 kB / 0.6925 GB, free: 3.227 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1742, allocations: 25.7 kB / 0.6926 GB, free: 3.195 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.1743, allocations: 80.14 kB / 0.6926 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1743, allocations: 11.88 kB / 0.6927 GB, free: 3.102 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.1743, allocations: 17.84 kB / 0.6927 GB, free: 3.078 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1744, allocations: 310.8 kB / 0.693 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.1745, allocations: 7.938 kB / 0.693 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.1745, allocations: 4 kB / 0.693 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.1745, allocations: 8.859 kB / 0.693 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1745, allocations: 0 / 0.693 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.037e-05/0.1746, allocations: 41.69 kB / 0.693 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1746, allocations: 11.94 kB / 0.693 GB, free: 2.684 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1746, allocations: 0 / 0.693 GB, free: 2.684 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1746, allocations: 96 / 0.693 GB, free: 2.684 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.1746, allocations: 8 kB / 0.693 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1747, allocations: 3.938 kB / 0.693 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.1747, allocations: 3.938 kB / 0.6931 GB, free: 2.668 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.1747, allocations: 0 / 0.6931 GB, free: 2.668 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.335e-05/0.1747, allocations: 105.8 kB / 0.6932 GB, free: 2.555 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.1748, allocations: 7.938 kB / 0.6932 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.1749, allocations: 48.8 kB / 0.6932 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1749, allocations: 0 / 0.6932 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1749, allocations: 32 / 0.6932 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1749, allocations: 4 kB / 0.6932 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.896e-05/0.175, allocations: 128.8 kB / 0.6933 GB, free: 2.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.175, allocations: 0 / 0.6933 GB, free: 2.32 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.175, allocations: 0 / 0.6933 GB, free: 2.32 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.175, allocations: 7.938 kB / 0.6933 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.175, allocations: 0 / 0.6933 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.175, allocations: 0 / 0.6933 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.175, allocations: 0 / 0.6933 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.321e-05/0.1751, allocations: 69.02 kB / 0.6934 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.1751, allocations: 4 kB / 0.6934 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1751, allocations: 7.969 kB / 0.6934 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.1751, allocations: 3.938 kB / 0.6934 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.1751, allocations: 0 / 0.6934 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1751, allocations: 0 / 0.6934 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.1752, allocations: 79.28 kB / 0.6935 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.1752, allocations: 0 / 0.6935 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001717/0.1753, allocations: 0 / 0.6935 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.0004046/0.1757, allocations: 0.6049 MB / 0.6941 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.888e-05/0.1758, allocations: 8 kB / 0.6941 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1758, allocations: 4.094 kB / 0.6941 GB, free: 1.484 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 9.718e-06/0.1758, allocations: 4 kB / 0.6941 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.176, allocations: 7.938 kB / 0.6941 GB, free: 1.473 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.1763, allocations: 110.7 kB / 0.6942 GB, free: 1.324 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.1763, allocations: 59.3 kB / 0.6943 GB, free: 1.246 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.1763, allocations: 3.984 kB / 0.6943 GB, free: 1.242 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1764, allocations: 15.44 kB / 0.6943 GB, free: 1.227 MB / 0.5139 GB Notification: Performance of SimCode: time 5.21e-07/0.1764, allocations: 8 kB / 0.6943 GB, free: 1.219 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.1965, allocations: 1.189 MB / 0.6955 GB, free: 180 kB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.29, allocations: 8.547 kB / 0.6955 GB, free: 172 kB / 0.5139 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.312859300058335]