Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009377/0.0009379, allocations: 180.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 225.7 MB / 243.2 MB, free: 8.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007452/0.0007456, allocations: 98.41 kB / 294.4 MB, free: 9.527 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.6917/0.6917, allocations: 120.5 MB / 465.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 12 kB / 0.5464 GB, free: 41.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1286, allocations: 82.84 MB / 0.6273 GB, free: 7.895 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0004533/0.1291, allocations: 121.3 kB / 0.6274 GB, free: 7.777 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002316/0.1294, allocations: 113 kB / 0.6275 GB, free: 7.648 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.1294, allocations: 0 / 0.6275 GB, free: 7.648 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.1294, allocations: 4 kB / 0.6275 GB, free: 7.645 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.1295, allocations: 3.984 kB / 0.6275 GB, free: 7.641 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.1296, allocations: 8 kB / 0.6275 GB, free: 7.633 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 3.127e-05/0.1296, allocations: 3.938 kB / 0.6275 GB, free: 7.629 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.1297, allocations: 5.656 kB / 0.6275 GB, free: 7.625 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.1297, allocations: 0 / 0.6275 GB, free: 7.625 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.809e-05/0.1298, allocations: 0 / 0.6275 GB, free: 7.625 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.1298, allocations: 0 / 0.6275 GB, free: 7.625 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.017e-05/0.1298, allocations: 15.92 kB / 0.6275 GB, free: 7.609 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.1299, allocations: 0 / 0.6275 GB, free: 7.609 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.1299, allocations: 29.64 kB / 0.6276 GB, free: 7.574 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 6.575e-05/0.13, allocations: 19.97 kB / 0.6276 GB, free: 7.555 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.13, allocations: 0 / 0.6276 GB, free: 7.555 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.13, allocations: 0 / 0.6276 GB, free: 7.555 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.13, allocations: 0 / 0.6276 GB, free: 7.555 MB / 442.8 MB 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.0002391/0.1302, allocations: 311.6 kB / 0.6279 GB, free: 7.199 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1303, allocations: 8.031 kB / 0.6279 GB, free: 7.191 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.1303, allocations: 0.9375 kB / 0.6279 GB, free: 7.191 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1304, allocations: 164.4 kB / 0.6281 GB, free: 6.992 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1304, allocations: 384 / 0.6281 GB, free: 6.992 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1305, allocations: 8.375 kB / 0.6281 GB, free: 6.984 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.558e-05/0.1306, allocations: 30.27 kB / 0.6281 GB, free: 6.949 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1306, allocations: 8.125 kB / 0.6281 GB, free: 6.941 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1306, allocations: 7.922 kB / 0.6281 GB, free: 6.934 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1306, allocations: 0 / 0.6281 GB, free: 6.934 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.1306, allocations: 7.984 kB / 0.6281 GB, free: 6.926 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.1308, allocations: 145.7 kB / 0.6283 GB, free: 6.734 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.404e-05/0.1308, allocations: 22.61 kB / 0.6283 GB, free: 6.703 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.1308, allocations: 11.59 kB / 0.6283 GB, free: 6.691 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.1311, allocations: 89.09 kB / 0.6284 GB, free: 6.586 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1311, allocations: 38.5 kB / 0.6284 GB, free: 6.539 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1311, allocations: 0 / 0.6284 GB, free: 6.539 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001255/0.1312, allocations: 45.56 kB / 0.6284 GB, free: 6.488 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.1313, allocations: 51.41 kB / 0.6285 GB, free: 6.426 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.998e-05/0.1313, allocations: 97.98 kB / 0.6286 GB, free: 6.32 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1313, allocations: 25.7 kB / 0.6286 GB, free: 6.289 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.21e-05/0.1314, allocations: 80.14 kB / 0.6287 GB, free: 6.207 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1314, allocations: 3.906 kB / 0.6287 GB, free: 6.203 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.1314, allocations: 4 kB / 0.6287 GB, free: 6.199 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1315, allocations: 310.8 kB / 0.629 GB, free: 5.887 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.1315, allocations: 0 / 0.629 GB, free: 5.887 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.1316, allocations: 7.984 kB / 0.629 GB, free: 5.879 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.1316, allocations: 20.86 kB / 0.629 GB, free: 5.855 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1316, allocations: 0 / 0.629 GB, free: 5.855 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.354e-05/0.1317, allocations: 37.7 kB / 0.6291 GB, free: 5.812 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1317, allocations: 4 kB / 0.6291 GB, free: 5.809 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1317, allocations: 0 / 0.6291 GB, free: 5.809 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1317, allocations: 3.938 kB / 0.6291 GB, free: 5.805 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.1318, allocations: 4 kB / 0.6291 GB, free: 5.801 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1318, allocations: 3.984 kB / 0.6291 GB, free: 5.797 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.1318, allocations: 4.219 kB / 0.6291 GB, free: 5.793 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1318, allocations: 4 kB / 0.6291 GB, free: 5.789 MB / 442.8 MB 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.937e-05/0.1319, allocations: 114.5 kB / 0.6292 GB, free: 5.668 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-06/0.1319, allocations: 0 / 0.6292 GB, free: 5.668 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.132, allocations: 56.62 kB / 0.6292 GB, free: 5.602 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.132, allocations: 0 / 0.6292 GB, free: 5.602 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.132, allocations: 0 / 0.6292 GB, free: 5.602 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.132, allocations: 0 / 0.6292 GB, free: 5.602 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.943e-05/0.1321, allocations: 145.7 kB / 0.6294 GB, free: 5.41 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1321, allocations: 32 / 0.6294 GB, free: 5.41 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.1321, allocations: 16 kB / 0.6294 GB, free: 5.395 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1322, allocations: 3.984 kB / 0.6294 GB, free: 5.391 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1322, allocations: 3.938 kB / 0.6294 GB, free: 5.387 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1322, allocations: 0 / 0.6294 GB, free: 5.387 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1322, allocations: 0 / 0.6294 GB, free: 5.387 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.1322, allocations: 64.98 kB / 0.6295 GB, free: 5.305 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1323, allocations: 85.03 kB / 0.6296 GB, free: 5.203 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.1323, allocations: 11.97 kB / 0.6296 GB, free: 5.191 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.1323, allocations: 0 / 0.6296 GB, free: 5.191 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-06/0.1323, allocations: 0 / 0.6296 GB, free: 5.191 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1323, allocations: 0 / 0.6296 GB, free: 5.191 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.281e-05/0.1324, allocations: 75.28 kB / 0.6296 GB, free: 5.117 MB / 442.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1324, allocations: 0 / 0.6296 GB, free: 5.117 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001813/0.1326, allocations: 4 kB / 0.6296 GB, free: 5.113 MB / 442.8 MB 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 9.757e-05/0.1327, allocations: 99.25 kB / 0.6297 GB, free: 5.004 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 7.065e-05/0.1327, allocations: 19.98 kB / 0.6298 GB, free: 4.984 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1328, allocations: 0 / 0.6298 GB, free: 4.984 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.1328, allocations: 7.938 kB / 0.6298 GB, free: 4.977 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.1329, allocations: 0 / 0.6298 GB, free: 4.977 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.1331, allocations: 82.77 kB / 0.6298 GB, free: 4.867 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1333, allocations: 0.677 MB / 0.6305 GB, free: 4.164 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.266e-05/0.1333, allocations: 4.125 kB / 0.6305 GB, free: 4.16 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.1334, allocations: 7.438 kB / 0.6305 GB, free: 4.152 MB / 442.8 MB Notification: Performance of SimCode: time 2.9e-07/0.1334, allocations: 0 / 0.6305 GB, free: 4.152 MB / 442.8 MB Notification: Performance of Templates: time 0.001797/0.1352, allocations: 274.8 kB / 0.6308 GB, free: 3.887 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches