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.001294/0.001294, 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.00148/0.00148, allocations: 208.4 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.398/1.398, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.9551/0.9551, allocations: 120.6 MB / 434.5 MB, free: 0.6094 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.00206/0.00206, allocations: 73.61 kB / 0.6067 GB, free: 10.77 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1479, allocations: 85.86 MB / 0.6905 GB, free: 4.699 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001576/0.1494, allocations: 388.6 kB / 0.6909 GB, free: 4.324 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004803/0.1499, allocations: 187.5 kB / 0.6911 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.1499, allocations: 0 / 0.6911 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.15, allocations: 0 / 0.6911 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.425e-05/0.15, allocations: 3.984 kB / 0.6911 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.1502, allocations: 7.938 kB / 0.6911 GB, free: 4.129 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.1502, allocations: 4 kB / 0.6911 GB, free: 4.125 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.1502, allocations: 11.98 kB / 0.6911 GB, free: 4.113 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.1503, allocations: 3.938 kB / 0.6911 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.1503, allocations: 0 / 0.6911 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1503, allocations: 0 / 0.6911 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.33e-05/0.1504, allocations: 15.98 kB / 0.6911 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.1504, allocations: 7.984 kB / 0.6911 GB, free: 4.086 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.1504, allocations: 4 kB / 0.6911 GB, free: 4.082 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.236e-05/0.1505, allocations: 12.2 kB / 0.6911 GB, free: 4.07 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1505, allocations: 4 kB / 0.6911 GB, free: 4.066 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1505, allocations: 0 / 0.6911 GB, free: 4.066 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1505, allocations: 0 / 0.6911 GB, free: 4.066 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.0002916/0.1508, allocations: 242.4 kB / 0.6914 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1508, allocations: 12.02 kB / 0.6914 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.1509, allocations: 34.75 kB / 0.6914 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.1509, allocations: 0.9375 kB / 0.6914 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.264e-05/0.151, allocations: 110.8 kB / 0.6915 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.151, allocations: 384 / 0.6915 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.151, allocations: 384 / 0.6915 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.1511, allocations: 34.27 kB / 0.6915 GB, free: 3.57 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1511, allocations: 3.938 kB / 0.6915 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1511, allocations: 4 kB / 0.6916 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1511, allocations: 8 kB / 0.6916 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.1511, allocations: 3.984 kB / 0.6916 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1513, allocations: 120.8 kB / 0.6917 GB, free: 3.391 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.361e-05/0.1513, allocations: 22.55 kB / 0.6917 GB, free: 3.359 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.1514, allocations: 16.91 kB / 0.6917 GB, free: 3.34 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.1515, allocations: 7.984 kB / 0.6917 GB, free: 3.332 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1516, allocations: 38.56 kB / 0.6918 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1516, allocations: 0 / 0.6918 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.1517, allocations: 45.62 kB / 0.6918 GB, free: 3.234 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1517, allocations: 51.41 kB / 0.6919 GB, free: 3.172 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.36e-05/0.1518, allocations: 89.86 kB / 0.6919 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1518, allocations: 29.7 kB / 0.692 GB, free: 3.039 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.1518, allocations: 80.14 kB / 0.692 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1519, allocations: 15.83 kB / 0.6921 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1519, allocations: 9.719 kB / 0.6921 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.152, allocations: 314.8 kB / 0.6924 GB, free: 2.609 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.152, allocations: 0 / 0.6924 GB, free: 2.609 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.152, allocations: 8 kB / 0.6924 GB, free: 2.602 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.1521, allocations: 17.03 kB / 0.6924 GB, free: 2.582 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1521, allocations: 0 / 0.6924 GB, free: 2.582 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.067e-05/0.1521, allocations: 37.7 kB / 0.6924 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1521, allocations: 4 kB / 0.6924 GB, free: 2.535 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1521, allocations: 3.938 kB / 0.6924 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1522, allocations: 0 / 0.6924 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.1522, allocations: 7.938 kB / 0.6924 GB, free: 2.523 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1522, allocations: 3.938 kB / 0.6924 GB, free: 2.52 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.1522, allocations: 0 / 0.6924 GB, free: 2.52 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.1522, allocations: 7.984 kB / 0.6925 GB, free: 2.512 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 6.941e-05/0.1523, allocations: 109.9 kB / 0.6926 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.1523, allocations: 0 / 0.6926 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.1524, allocations: 52.73 kB / 0.6926 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1524, allocations: 0 / 0.6926 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1524, allocations: 0 / 0.6926 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1524, allocations: 4 kB / 0.6926 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.1525, allocations: 116.8 kB / 0.6927 GB, free: 2.176 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1525, allocations: 0 / 0.6927 GB, free: 2.176 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.1525, allocations: 4 kB / 0.6927 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1525, allocations: 4.031 kB / 0.6927 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1526, allocations: 3.938 kB / 0.6927 GB, free: 2.164 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1526, allocations: 3.938 kB / 0.6927 GB, free: 2.16 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1526, allocations: 4 kB / 0.6927 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.358e-05/0.1527, allocations: 65.08 kB / 0.6928 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-06/0.1527, allocations: 0 / 0.6928 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1527, allocations: 3.938 kB / 0.6928 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.1527, allocations: 8 kB / 0.6928 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.1527, allocations: 3.984 kB / 0.6928 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-06/0.1527, allocations: 0 / 0.6928 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.1527, allocations: 79.31 kB / 0.6929 GB, free: 1.98 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5e-08/0.1527, allocations: 0 / 0.6929 GB, free: 1.98 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001924/0.1529, allocations: 4 kB / 0.6929 GB, free: 1.977 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.000423/0.1534, allocations: 0.6123 MB / 0.6935 GB, free: 1.332 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.046e-05/0.1534, allocations: 4 kB / 0.6935 GB, free: 1.328 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1534, allocations: 0 / 0.6935 GB, free: 1.328 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-05/0.1534, allocations: 7.938 kB / 0.6935 GB, free: 1.32 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1536, allocations: 15.92 kB / 0.6935 GB, free: 1.305 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.1539, allocations: 106.8 kB / 0.6936 GB, free: 1.16 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.856e-05/0.154, allocations: 59.34 kB / 0.6937 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.154, allocations: 7.922 kB / 0.6937 GB, free: 1.074 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.154, allocations: 11.44 kB / 0.6937 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of SimCode: time 5.21e-07/0.154, allocations: 0 / 0.6937 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.1794, allocations: 1.588 MB / 0.6953 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.11, allocations: 11.73 kB / 0.6953 GB, free: 15.59 MB / 0.5295 GB " [Timeout remaining time 289] (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: 15.380750441923738]