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.001313/0.001313, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001402/0.001402, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 8 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.02/1.02, allocations: 120.6 MB / 435.3 MB, free: 0.8281 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.00192/0.00192, allocations: 60.19 kB / 0.6075 GB, free: 10.95 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1651, allocations: 85.87 MB / 0.6914 GB, free: 4.867 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001503/0.1666, allocations: 393.2 kB / 0.6917 GB, free: 4.484 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004519/0.167, allocations: 194.8 kB / 0.6919 GB, free: 4.297 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.1671, allocations: 0 / 0.6919 GB, free: 4.297 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.1671, allocations: 0 / 0.6919 GB, free: 4.297 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.303e-05/0.1671, allocations: 0 / 0.6919 GB, free: 4.297 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.1673, allocations: 11.92 kB / 0.6919 GB, free: 4.285 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.1673, allocations: 4 kB / 0.6919 GB, free: 4.281 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.1674, allocations: 8 kB / 0.6919 GB, free: 4.273 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.1674, allocations: 0 / 0.6919 GB, free: 4.273 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.1675, allocations: 3.938 kB / 0.6919 GB, free: 4.27 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1675, allocations: 0 / 0.6919 GB, free: 4.27 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 7.177e-05/0.1675, allocations: 23.97 kB / 0.692 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.1676, allocations: 0 / 0.692 GB, free: 4.246 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.1676, allocations: 7.984 kB / 0.692 GB, free: 4.238 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.734e-05/0.1677, allocations: 8.219 kB / 0.692 GB, free: 4.23 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1677, allocations: 7.984 kB / 0.692 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1677, allocations: 0 / 0.692 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1677, allocations: 0 / 0.692 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.0002993/0.168, allocations: 238.9 kB / 0.6922 GB, free: 3.957 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.168, allocations: 8.031 kB / 0.6922 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.281e-05/0.168, allocations: 192 / 0.6922 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.1681, allocations: 38.69 kB / 0.6923 GB, free: 3.902 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.1681, allocations: 0.9375 kB / 0.6923 GB, free: 3.902 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.682e-05/0.1682, allocations: 114.5 kB / 0.6924 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1682, allocations: 4.312 kB / 0.6924 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1682, allocations: 384 / 0.6924 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1683, allocations: 41.95 kB / 0.6924 GB, free: 3.715 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1683, allocations: 0 / 0.6924 GB, free: 3.715 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1683, allocations: 0 / 0.6924 GB, free: 3.715 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1683, allocations: 4 kB / 0.6924 GB, free: 3.711 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.986e-05/0.1684, allocations: 0 / 0.6924 GB, free: 3.711 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1685, allocations: 124.8 kB / 0.6925 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.1686, allocations: 22.61 kB / 0.6926 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.1686, allocations: 16.86 kB / 0.6926 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.1688, allocations: 11.98 kB / 0.6926 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1688, allocations: 34.5 kB / 0.6926 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1688, allocations: 0 / 0.6926 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.169, allocations: 41.7 kB / 0.6927 GB, free: 3.395 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.169, allocations: 51.41 kB / 0.6927 GB, free: 3.332 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.524e-05/0.169, allocations: 93.84 kB / 0.6928 GB, free: 3.23 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1691, allocations: 29.83 kB / 0.6928 GB, free: 3.195 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1691, allocations: 80.14 kB / 0.6929 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1691, allocations: 3.953 kB / 0.6929 GB, free: 3.109 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.1691, allocations: 17.72 kB / 0.6929 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1693, allocations: 310.8 kB / 0.6932 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.1693, allocations: 0 / 0.6932 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.1693, allocations: 7.938 kB / 0.6932 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.1693, allocations: 12.92 kB / 0.6932 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1693, allocations: 4 kB / 0.6932 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.606e-05/0.1694, allocations: 37.69 kB / 0.6933 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1694, allocations: 11.94 kB / 0.6933 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1694, allocations: 0 / 0.6933 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1694, allocations: 0 / 0.6933 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.1695, allocations: 4 kB / 0.6933 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1695, allocations: 0 / 0.6933 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.1695, allocations: 0 / 0.6933 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.1695, allocations: 0 / 0.6933 GB, free: 2.688 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.717e-05/0.1696, allocations: 125.7 kB / 0.6934 GB, free: 2.555 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1696, allocations: 7.938 kB / 0.6934 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.65e-05/0.1697, allocations: 40.81 kB / 0.6935 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1697, allocations: 4 kB / 0.6935 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1697, allocations: 0 / 0.6935 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1697, allocations: 0 / 0.6935 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.1698, allocations: 120.7 kB / 0.6936 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1698, allocations: 0 / 0.6936 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.1698, allocations: 8.031 kB / 0.6936 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1698, allocations: 11.88 kB / 0.6936 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.1698, allocations: 0 / 0.6936 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1698, allocations: 4 kB / 0.6936 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1698, allocations: 0 / 0.6936 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.369e-05/0.1699, allocations: 69.02 kB / 0.6937 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-06/0.1699, allocations: 0 / 0.6937 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1699, allocations: 3.938 kB / 0.6937 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.1699, allocations: 8.031 kB / 0.6937 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.17, allocations: 7.984 kB / 0.6937 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.17, allocations: 0 / 0.6937 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.17, allocations: 75.28 kB / 0.6938 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.17, allocations: 0 / 0.6938 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001977/0.1702, allocations: 4 kB / 0.6938 GB, free: 2.129 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.000414/0.1706, allocations: 0.6045 MB / 0.6944 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.1707, allocations: 12 kB / 0.6944 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1707, allocations: 0 / 0.6944 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.1707, allocations: 4 kB / 0.6944 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1708, allocations: 0 / 0.6944 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.1712, allocations: 114.7 kB / 0.6945 GB, free: 1.324 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.1715, allocations: 0.673 MB / 0.6951 GB, free: 0.625 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.1715, allocations: 11.92 kB / 0.6951 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1715, allocations: 7.438 kB / 0.6952 GB, free: 0.6055 MB / 0.5139 GB Notification: Performance of SimCode: time 3.11e-07/0.1715, allocations: 0 / 0.6952 GB, free: 0.6055 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.1913, allocations: 1.237 MB / 0.6964 GB, free: 15.51 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.19, allocations: 15.72 kB / 0.6964 GB, free: 15.5 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.14136532600969]