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.001593/0.001593, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001452/0.001452, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.396/1.396, 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 0.9976/0.9976, 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.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",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.001877/0.001877, allocations: 71.89 kB / 0.6074 GB, free: 10.78 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1666, allocations: 85.86 MB / 0.6913 GB, free: 4.703 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001441/0.168, allocations: 402.7 kB / 0.6917 GB, free: 4.316 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004368/0.1684, allocations: 175.6 kB / 0.6918 GB, free: 4.145 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.1685, allocations: 0 / 0.6918 GB, free: 4.145 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.1685, allocations: 4 kB / 0.6918 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.1685, allocations: 3.938 kB / 0.6918 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.1687, allocations: 11.92 kB / 0.6918 GB, free: 4.125 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.197e-05/0.1687, allocations: 11.94 kB / 0.6919 GB, free: 4.113 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1688, allocations: 0 / 0.6919 GB, free: 4.113 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.927e-05/0.1688, allocations: 4 kB / 0.6919 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.1688, allocations: 0 / 0.6919 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1688, allocations: 0 / 0.6919 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 7.199e-05/0.1689, allocations: 19.97 kB / 0.6919 GB, free: 4.09 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1689, allocations: 0 / 0.6919 GB, free: 4.09 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.1689, allocations: 8 kB / 0.6919 GB, free: 4.082 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.169, allocations: 20.2 kB / 0.6919 GB, free: 4.062 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.169, allocations: 3.938 kB / 0.6919 GB, free: 4.059 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.282e-06/0.169, allocations: 0 / 0.6919 GB, free: 4.059 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1691, allocations: 0 / 0.6919 GB, free: 4.059 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.0003029/0.1694, allocations: 234.5 kB / 0.6921 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1694, allocations: 12.03 kB / 0.6921 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.1694, allocations: 0.5938 kB / 0.6921 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.1694, allocations: 30.75 kB / 0.6922 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.1695, allocations: 0.9375 kB / 0.6922 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.037e-05/0.1695, allocations: 114.5 kB / 0.6923 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.1696, allocations: 4.375 kB / 0.6923 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1696, allocations: 4.312 kB / 0.6923 GB, free: 3.602 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1697, allocations: 38 kB / 0.6923 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1697, allocations: 0 / 0.6923 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1697, allocations: 0 / 0.6923 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1697, allocations: 0 / 0.6923 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.1697, allocations: 4 kB / 0.6923 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1699, allocations: 120.8 kB / 0.6924 GB, free: 3.395 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.17, allocations: 26.59 kB / 0.6925 GB, free: 3.359 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.17, allocations: 20.84 kB / 0.6925 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.1702, allocations: 8 kB / 0.6925 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1702, allocations: 38.48 kB / 0.6925 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1702, allocations: 0 / 0.6925 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.1704, allocations: 41.7 kB / 0.6926 GB, free: 3.234 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1704, allocations: 51.41 kB / 0.6926 GB, free: 3.172 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.282e-05/0.1704, allocations: 89.86 kB / 0.6927 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1705, allocations: 25.7 kB / 0.6927 GB, free: 3.043 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1705, allocations: 80.14 kB / 0.6928 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1705, allocations: 8.078 kB / 0.6928 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1706, allocations: 21.7 kB / 0.6928 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1707, allocations: 310.8 kB / 0.6931 GB, free: 2.613 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.1707, allocations: 7.938 kB / 0.6931 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.1707, allocations: 3.938 kB / 0.6931 GB, free: 2.602 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.1708, allocations: 16.86 kB / 0.6932 GB, free: 2.582 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1708, allocations: 4 kB / 0.6932 GB, free: 2.578 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.19e-05/0.1708, allocations: 41.62 kB / 0.6932 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1709, allocations: 7.938 kB / 0.6932 GB, free: 2.523 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1709, allocations: 96 / 0.6932 GB, free: 2.523 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1709, allocations: 4 kB / 0.6932 GB, free: 2.52 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.1709, allocations: 4 kB / 0.6932 GB, free: 2.516 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1709, allocations: 0 / 0.6932 GB, free: 2.516 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.1709, allocations: 0 / 0.6932 GB, free: 2.516 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.1709, allocations: 0 / 0.6932 GB, free: 2.516 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 8.899e-05/0.171, allocations: 117.8 kB / 0.6933 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.171, allocations: 3.938 kB / 0.6933 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1711, allocations: 48.8 kB / 0.6934 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1711, allocations: 32 / 0.6934 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1712, allocations: 4 kB / 0.6934 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1712, allocations: 0 / 0.6934 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1713, allocations: 124.7 kB / 0.6935 GB, free: 2.164 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1713, allocations: 0 / 0.6935 GB, free: 2.164 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.1713, allocations: 4 kB / 0.6935 GB, free: 2.16 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1713, allocations: 3.938 kB / 0.6935 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1713, allocations: 0 / 0.6935 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1713, allocations: 0 / 0.6935 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1713, allocations: 0 / 0.6935 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.425e-05/0.1714, allocations: 73.02 kB / 0.6936 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-06/0.1714, allocations: 4.031 kB / 0.6936 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1714, allocations: 3.938 kB / 0.6936 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.1714, allocations: 4 kB / 0.6936 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.1714, allocations: 4 kB / 0.6936 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1714, allocations: 0 / 0.6936 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.1715, allocations: 75.28 kB / 0.6937 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1715, allocations: 0 / 0.6937 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001752/0.1716, allocations: 4 kB / 0.6937 GB, free: 1.973 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.0004295/0.1721, allocations: 0.6006 MB / 0.6943 GB, free: 1.34 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.1722, allocations: 20.02 kB / 0.6943 GB, free: 1.32 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1722, allocations: 0 / 0.6943 GB, free: 1.32 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.1722, allocations: 4 kB / 0.6943 GB, free: 1.316 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.1723, allocations: 3.938 kB / 0.6943 GB, free: 1.312 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.1726, allocations: 114.6 kB / 0.6944 GB, free: 1.16 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.692e-05/0.1727, allocations: 55.36 kB / 0.6944 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.1727, allocations: 3.938 kB / 0.6945 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.1727, allocations: 15.56 kB / 0.6945 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of SimCode: time 2.7e-07/0.1727, allocations: 0 / 0.6945 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.1922, allocations: 1.25 MB / 0.6957 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.34, allocations: 12.53 kB / 0.6957 GB, free: 15.95 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: 16.058328577899374]