Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.000952/0.0009524, allocations: 182.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.282/1.282, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0008209/0.0008207, allocations: 97.7 kB / 294.4 MB, free: 9.488 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.7615/0.7615, allocations: 120.5 MB / 465.9 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 4 kB / 0.5464 GB, free: 41.41 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 82.85 MB / 0.6273 GB, free: 7.855 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0004973/0.142, allocations: 113.4 kB / 0.6274 GB, free: 7.746 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.1423, allocations: 113 kB / 0.6275 GB, free: 7.617 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.1423, allocations: 0 / 0.6275 GB, free: 7.617 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.1424, allocations: 0 / 0.6275 GB, free: 7.617 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.1424, allocations: 0 / 0.6275 GB, free: 7.617 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1426, allocations: 15.98 kB / 0.6275 GB, free: 7.602 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 3.632e-05/0.1426, allocations: 0 / 0.6275 GB, free: 7.602 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.1427, allocations: 1.656 kB / 0.6275 GB, free: 7.602 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.1427, allocations: 7.938 kB / 0.6275 GB, free: 7.594 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/0.1427, allocations: 0 / 0.6275 GB, free: 7.594 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.1428, allocations: 0 / 0.6275 GB, free: 7.594 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.608e-05/0.1428, allocations: 11.98 kB / 0.6275 GB, free: 7.582 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.1428, allocations: 3.938 kB / 0.6275 GB, free: 7.578 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.1429, allocations: 29.7 kB / 0.6276 GB, free: 7.543 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.31e-05/0.143, allocations: 11.97 kB / 0.6276 GB, free: 7.531 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.143, allocations: 0 / 0.6276 GB, free: 7.531 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.644e-06/0.143, allocations: 4 kB / 0.6276 GB, free: 7.527 MB / 442.8 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.143, allocations: 0 / 0.6276 GB, free: 7.527 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.0002894/0.1433, allocations: 311.6 kB / 0.6279 GB, free: 7.172 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1433, allocations: 8.031 kB / 0.6279 GB, free: 7.164 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.1434, allocations: 0.9375 kB / 0.6279 GB, free: 7.164 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.447e-05/0.1435, allocations: 168.4 kB / 0.6281 GB, free: 6.961 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1435, allocations: 384 / 0.6281 GB, free: 6.961 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1435, allocations: 4.375 kB / 0.6281 GB, free: 6.957 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1436, allocations: 30.27 kB / 0.6281 GB, free: 6.922 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1437, allocations: 192 / 0.6281 GB, free: 6.922 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1437, allocations: 3.938 kB / 0.6281 GB, free: 6.918 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1437, allocations: 4 kB / 0.6281 GB, free: 6.914 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.1437, allocations: 3.938 kB / 0.6281 GB, free: 6.91 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1439, allocations: 157.6 kB / 0.6282 GB, free: 6.707 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.1439, allocations: 18.61 kB / 0.6283 GB, free: 6.68 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.144, allocations: 15.59 kB / 0.6283 GB, free: 6.664 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.1442, allocations: 93.03 kB / 0.6284 GB, free: 6.555 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1443, allocations: 30.56 kB / 0.6284 GB, free: 6.516 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1443, allocations: 0 / 0.6284 GB, free: 6.516 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.1445, allocations: 53.56 kB / 0.6284 GB, free: 6.457 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1445, allocations: 51.41 kB / 0.6285 GB, free: 6.395 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.874e-05/0.1445, allocations: 89.86 kB / 0.6286 GB, free: 6.297 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1446, allocations: 25.7 kB / 0.6286 GB, free: 6.266 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.1446, allocations: 84.27 kB / 0.6287 GB, free: 6.18 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.1446, allocations: 3.906 kB / 0.6287 GB, free: 6.176 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.1446, allocations: 0 / 0.6287 GB, free: 6.176 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1448, allocations: 314.8 kB / 0.629 GB, free: 5.859 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.1448, allocations: 4 kB / 0.629 GB, free: 5.855 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.1448, allocations: 0 / 0.629 GB, free: 5.855 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.1448, allocations: 16.84 kB / 0.629 GB, free: 5.836 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1448, allocations: 0 / 0.629 GB, free: 5.836 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.584e-05/0.1449, allocations: 45.7 kB / 0.6291 GB, free: 5.785 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1449, allocations: 4 kB / 0.6291 GB, free: 5.781 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1449, allocations: 0 / 0.6291 GB, free: 5.781 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1449, allocations: 3.938 kB / 0.6291 GB, free: 5.777 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.145, allocations: 4 kB / 0.6291 GB, free: 5.773 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.145, allocations: 0 / 0.6291 GB, free: 5.773 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.145, allocations: 288 / 0.6291 GB, free: 5.773 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.145, allocations: 4 kB / 0.6291 GB, free: 5.77 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 7.96e-05/0.1451, allocations: 117.8 kB / 0.6292 GB, free: 5.645 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.1451, allocations: 8.016 kB / 0.6292 GB, free: 5.637 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1452, allocations: 56.62 kB / 0.6292 GB, free: 5.57 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1453, allocations: 0 / 0.6292 GB, free: 5.57 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1453, allocations: 0 / 0.6292 GB, free: 5.57 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1453, allocations: 3.984 kB / 0.6292 GB, free: 5.566 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.63e-05/0.1454, allocations: 149.7 kB / 0.6294 GB, free: 5.371 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1454, allocations: 0 / 0.6294 GB, free: 5.371 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.1454, allocations: 0 / 0.6294 GB, free: 5.371 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1454, allocations: 4 kB / 0.6294 GB, free: 5.367 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1454, allocations: 7.969 kB / 0.6294 GB, free: 5.359 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1454, allocations: 0 / 0.6294 GB, free: 5.359 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1454, allocations: 0 / 0.6294 GB, free: 5.359 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.45e-05/0.1455, allocations: 68.97 kB / 0.6295 GB, free: 5.273 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.1456, allocations: 81.05 kB / 0.6295 GB, free: 5.176 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1456, allocations: 7.938 kB / 0.6296 GB, free: 5.168 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.1456, allocations: 3.938 kB / 0.6296 GB, free: 5.164 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1456, allocations: 8.016 kB / 0.6296 GB, free: 5.156 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.1456, allocations: 0 / 0.6296 GB, free: 5.156 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.1457, allocations: 75.28 kB / 0.6296 GB, free: 5.082 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1457, allocations: 0 / 0.6296 GB, free: 5.082 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001954/0.1459, allocations: 4 kB / 0.6296 GB, free: 5.078 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 0.0001165/0.146, allocations: 99.25 kB / 0.6297 GB, free: 4.969 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.1461, allocations: 12 kB / 0.6297 GB, free: 4.957 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1461, allocations: 0 / 0.6297 GB, free: 4.957 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 9.387e-06/0.1461, allocations: 8.062 kB / 0.6298 GB, free: 4.949 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1462, allocations: 3.984 kB / 0.6298 GB, free: 4.945 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.1464, allocations: 86.7 kB / 0.6298 GB, free: 4.832 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1467, allocations: 0.6692 MB / 0.6305 GB, free: 4.137 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.1467, allocations: 7.984 kB / 0.6305 GB, free: 4.129 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.1467, allocations: 7.438 kB / 0.6305 GB, free: 4.121 MB / 442.8 MB Notification: Performance of SimCode: time 2.31e-07/0.1467, allocations: 4.062 kB / 0.6305 GB, free: 4.117 MB / 442.8 MB Notification: Performance of Templates: time 0.001944/0.1487, allocations: 267 kB / 0.6308 GB, free: 3.859 MB / 442.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches