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.001594/0.001594, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001748/0.001748, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.481/1.481, allocations: 230.6 MB / 257.5 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.08/1.08, allocations: 120.6 MB / 434.5 MB, free: 0.8555 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.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",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.002001/0.002001, allocations: 83.81 kB / 0.6067 GB, free: 10.97 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 85.86 MB / 0.6906 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001657/0.1735, allocations: 397.2 kB / 0.691 GB, free: 4.516 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005832/0.1741, allocations: 182.8 kB / 0.6911 GB, free: 4.34 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.1742, allocations: 0 / 0.6911 GB, free: 4.34 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.1742, allocations: 7.938 kB / 0.6911 GB, free: 4.332 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.1742, allocations: 0 / 0.6911 GB, free: 4.332 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1744, allocations: 8 kB / 0.6912 GB, free: 4.324 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.1744, allocations: 3.984 kB / 0.6912 GB, free: 4.32 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.1745, allocations: 4 kB / 0.6912 GB, free: 4.316 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.1745, allocations: 3.984 kB / 0.6912 GB, free: 4.312 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.1746, allocations: 7.938 kB / 0.6912 GB, free: 4.305 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1746, allocations: 0 / 0.6912 GB, free: 4.305 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.1747, allocations: 15.98 kB / 0.6912 GB, free: 4.289 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1747, allocations: 7.938 kB / 0.6912 GB, free: 4.281 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.1747, allocations: 4 kB / 0.6912 GB, free: 4.277 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.699e-05/0.1748, allocations: 20.19 kB / 0.6912 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1748, allocations: 0 / 0.6912 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1748, allocations: 0 / 0.6912 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.1748, allocations: 4 kB / 0.6912 GB, free: 4.254 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.0003145/0.1751, allocations: 242.9 kB / 0.6915 GB, free: 3.984 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1752, allocations: 8.031 kB / 0.6915 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.1752, allocations: 30.75 kB / 0.6915 GB, free: 3.938 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.1752, allocations: 0.9375 kB / 0.6915 GB, free: 3.938 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.003e-05/0.1753, allocations: 110.5 kB / 0.6916 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1753, allocations: 384 / 0.6916 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.1753, allocations: 384 / 0.6916 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1754, allocations: 34.25 kB / 0.6916 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1755, allocations: 3.938 kB / 0.6916 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1755, allocations: 7.938 kB / 0.6916 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1755, allocations: 7.938 kB / 0.6917 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.1755, allocations: 7.984 kB / 0.6917 GB, free: 3.738 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1757, allocations: 116.8 kB / 0.6918 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.162e-05/0.1757, allocations: 26.59 kB / 0.6918 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.1757, allocations: 8.859 kB / 0.6918 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.1759, allocations: 8.062 kB / 0.6918 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1759, allocations: 34.56 kB / 0.6918 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1759, allocations: 0 / 0.6918 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/0.1761, allocations: 49.56 kB / 0.6919 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1761, allocations: 51.41 kB / 0.6919 GB, free: 3.367 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.1762, allocations: 89.86 kB / 0.692 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1762, allocations: 29.7 kB / 0.6921 GB, free: 3.234 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.1762, allocations: 80.14 kB / 0.6921 GB, free: 3.152 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1763, allocations: 8.078 kB / 0.6921 GB, free: 3.145 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.1763, allocations: 21.66 kB / 0.6922 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1764, allocations: 314.8 kB / 0.6925 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.1764, allocations: 0 / 0.6925 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.1765, allocations: 8 kB / 0.6925 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.1765, allocations: 16.8 kB / 0.6925 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1765, allocations: 0 / 0.6925 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.387e-05/0.1766, allocations: 37.7 kB / 0.6925 GB, free: 2.73 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1766, allocations: 8.094 kB / 0.6925 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1766, allocations: 3.938 kB / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1766, allocations: 3.984 kB / 0.6925 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.1766, allocations: 4 kB / 0.6925 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.1767, allocations: 0 / 0.6925 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.1767, allocations: 0 / 0.6925 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.1767, allocations: 4 kB / 0.6925 GB, free: 2.707 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.533e-05/0.1767, allocations: 105.8 kB / 0.6926 GB, free: 2.594 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/0.1768, allocations: 0 / 0.6926 GB, free: 2.594 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.1769, allocations: 60.67 kB / 0.6927 GB, free: 2.527 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1769, allocations: 0 / 0.6927 GB, free: 2.527 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1769, allocations: 0 / 0.6927 GB, free: 2.527 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1769, allocations: 0 / 0.6927 GB, free: 2.527 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.177, allocations: 120.8 kB / 0.6928 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.177, allocations: 0 / 0.6928 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.177, allocations: 11.92 kB / 0.6928 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.177, allocations: 0 / 0.6928 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.177, allocations: 3.938 kB / 0.6928 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.177, allocations: 4.031 kB / 0.6928 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.177, allocations: 0 / 0.6928 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.785e-05/0.1771, allocations: 73.02 kB / 0.6929 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.1771, allocations: 0 / 0.6929 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1771, allocations: 3.938 kB / 0.6929 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.1772, allocations: 0 / 0.6929 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.1772, allocations: 0 / 0.6929 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1772, allocations: 4 kB / 0.6929 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.1773, allocations: 79.31 kB / 0.693 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1773, allocations: 0 / 0.693 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002216/0.1775, allocations: 4 kB / 0.693 GB, free: 2.168 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.0004103/0.1779, allocations: 0.6007 MB / 0.6936 GB, free: 1.535 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.773e-05/0.178, allocations: 15.95 kB / 0.6936 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.178, allocations: 0 / 0.6936 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.178, allocations: 4 kB / 0.6936 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1781, allocations: 11.03 kB / 0.6936 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.1784, allocations: 106.7 kB / 0.6937 GB, free: 1.363 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1788, allocations: 0.6729 MB / 0.6944 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.1788, allocations: 4.125 kB / 0.6944 GB, free: 0.6602 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1788, allocations: 7.438 kB / 0.6944 GB, free: 0.6523 MB / 0.5139 GB Notification: Performance of SimCode: time 4.6e-07/0.1788, allocations: 0 / 0.6944 GB, free: 0.6523 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2067, allocations: 1.203 MB / 0.6956 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.58, allocations: 15.58 kB / 0.6956 GB, free: 15.56 MB / 0.5295 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat_fmu --startTime=0 --stopTime=1 --stepSize=2.00004e-05 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) [Timeout 315.0] 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: 16.13308547786437]