Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 178.8 kB / 16.71 MB, free: 5.09 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.227/1.227, allocations: 225.7 MB / 243.2 MB, free: 8.492 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.0007917/0.0007918, allocations: 93.19 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.7099/0.7099, allocations: 120.5 MB / 465.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004532, allocations: 8 kB / 0.5477 GB, free: 40.12 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 82.85 MB / 0.6286 GB, free: 6.52 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001292/0.1351, allocations: 1.091 MB / 0.6297 GB, free: 5.418 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.136, allocations: 0.7138 MB / 0.6304 GB, free: 4.648 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.1361, allocations: 0 / 0.6304 GB, free: 4.648 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.625e-05/0.1362, allocations: 7.922 kB / 0.6304 GB, free: 4.641 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.1365, allocations: 51.8 kB / 0.6304 GB, free: 4.59 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.364e-05/0.1366, allocations: 35.91 kB / 0.6305 GB, free: 4.555 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1368, allocations: 243.4 kB / 0.6307 GB, free: 4.316 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.1369, allocations: 4.188 kB / 0.6307 GB, free: 4.312 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.137, allocations: 71.88 kB / 0.6308 GB, free: 4.242 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1372, allocations: 99.7 kB / 0.6309 GB, free: 4.145 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1372, allocations: 11.98 kB / 0.6309 GB, free: 4.133 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.1373, allocations: 35.97 kB / 0.6309 GB, free: 4.098 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1374, allocations: 67.86 kB / 0.631 GB, free: 4.031 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 8.959e-05/0.1375, allocations: 97.34 kB / 0.6311 GB, free: 3.93 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1377, allocations: 135.8 kB / 0.6312 GB, free: 3.797 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1377, allocations: 0 / 0.6312 GB, free: 3.797 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1377, allocations: 0 / 0.6312 GB, free: 3.797 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1377, allocations: 4 kB / 0.6312 GB, free: 3.793 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007231/0.1385, allocations: 459.2 kB / 0.6316 GB, free: 3.293 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1385, allocations: 12.03 kB / 0.6317 GB, free: 3.281 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.1386, allocations: 16.75 kB / 0.6317 GB, free: 3.266 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1388, allocations: 212 kB / 0.6319 GB, free: 3.02 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1388, allocations: 12.17 kB / 0.6319 GB, free: 3.008 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1388, allocations: 16 kB / 0.6319 GB, free: 2.992 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.1391, allocations: 175.4 kB / 0.6321 GB, free: 2.816 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1391, allocations: 0 / 0.6321 GB, free: 2.816 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.1392, allocations: 8 kB / 0.6321 GB, free: 2.809 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1392, allocations: 0 / 0.6321 GB, free: 2.809 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1394, allocations: 144.5 kB / 0.6322 GB, free: 2.668 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.1397, allocations: 290.2 kB / 0.6325 GB, free: 2.336 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008852/0.1406, allocations: 350.8 kB / 0.6328 GB, free: 1.984 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.1408, allocations: 123.6 kB / 0.6329 GB, free: 1.863 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.141, allocations: 89.09 kB / 0.633 GB, free: 1.758 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.141, allocations: 34.56 kB / 0.6331 GB, free: 1.715 MB / 442.8 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.141, allocations: 4 kB / 0.6331 GB, free: 1.711 MB / 442.8 MB Notification: Performance of matching and sorting (n=28): time 0.0005973/0.1416, allocations: 382 kB / 0.6334 GB, free: 1.332 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1417, allocations: 55.34 kB / 0.6335 GB, free: 1.266 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1418, allocations: 141.6 kB / 0.6336 GB, free: 1.117 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1418, allocations: 29.7 kB / 0.6336 GB, free: 1.082 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.1419, allocations: 88.7 kB / 0.6337 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.142, allocations: 114.4 kB / 0.6338 GB, free: 0.8789 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.142, allocations: 12 kB / 0.6339 GB, free: 0.8672 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1421, allocations: 330.8 kB / 0.6342 GB, free: 0.5352 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.1423, allocations: 124.6 kB / 0.6343 GB, free: 420 kB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.1425, allocations: 125.2 kB / 0.6344 GB, free: 296 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.1429, allocations: 275.3 kB / 0.6347 GB, free: 20 kB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1429, allocations: 0 / 0.6347 GB, free: 20 kB / 442.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005261/0.1434, allocations: 357.1 kB / 0.635 GB, free: 15.66 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1434, allocations: 11.92 kB / 0.635 GB, free: 15.65 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1435, allocations: 0 / 0.635 GB, free: 15.65 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1435, allocations: 4 kB / 0.635 GB, free: 15.65 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.1438, allocations: 71.91 kB / 0.6351 GB, free: 15.58 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1438, allocations: 8 kB / 0.6351 GB, free: 15.57 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1439, allocations: 15.84 kB / 0.6351 GB, free: 15.55 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.144, allocations: 12 kB / 0.6351 GB, free: 15.54 MB / 458.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 (39): * Single equations (assignments): 39 * 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 0.000129/0.1441, allocations: 137.7 kB / 0.6353 GB, free: 15.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1441, allocations: 15.81 kB / 0.6353 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.1448, allocations: 403.4 kB / 0.6357 GB, free: 14.98 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1448, allocations: 4 kB / 0.6357 GB, free: 14.97 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1448, allocations: 0 / 0.6357 GB, free: 14.97 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1448, allocations: 3.984 kB / 0.6357 GB, free: 14.97 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.1451, allocations: 313.2 kB / 0.636 GB, free: 14.61 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1451, allocations: 0 / 0.636 GB, free: 14.61 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.1456, allocations: 79.91 kB / 0.636 GB, free: 14.54 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.1456, allocations: 4 kB / 0.636 GB, free: 14.53 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1456, allocations: 19.98 kB / 0.6361 GB, free: 14.51 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1456, allocations: 0 / 0.6361 GB, free: 14.51 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1456, allocations: 7.984 kB / 0.6361 GB, free: 14.5 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.1464, allocations: 0.5216 MB / 0.6366 GB, free: 13.96 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.1466, allocations: 128.7 kB / 0.6367 GB, free: 13.82 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.1466, allocations: 15.98 kB / 0.6367 GB, free: 13.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1467, allocations: 8 kB / 0.6367 GB, free: 13.79 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1468, allocations: 23.97 kB / 0.6367 GB, free: 13.77 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1468, allocations: 12 kB / 0.6368 GB, free: 13.76 MB / 458.8 MB Notification: Performance of sorting global known variables: time 6.479e-05/0.1469, allocations: 103.2 kB / 0.6369 GB, free: 13.66 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1469, allocations: 0 / 0.6369 GB, free: 13.66 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002607/0.1471, allocations: 68.11 kB / 0.6369 GB, free: 13.59 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001674/0.1473, allocations: 127.1 kB / 0.637 GB, free: 13.46 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.1478, allocations: 304.3 kB / 0.6373 GB, free: 13.16 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1478, allocations: 0 / 0.6373 GB, free: 13.16 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.148, allocations: 175.8 kB / 0.6375 GB, free: 12.99 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1483, allocations: 31.92 kB / 0.6375 GB, free: 12.96 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1497, allocations: 1.012 MB / 0.6385 GB, free: 11.91 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.15, allocations: 0.7491 MB / 0.6393 GB, free: 11.14 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.1502, allocations: 85.86 kB / 0.6393 GB, free: 11.06 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.1503, allocations: 35.42 kB / 0.6394 GB, free: 11.03 MB / 458.8 MB Notification: Performance of SimCode: time 6.01e-07/0.1503, allocations: 0 / 0.6394 GB, free: 11.03 MB / 458.8 MB Notification: Performance of Templates: time 0.005565/0.1559, allocations: 2.775 MB / 0.6421 GB, free: 8.25 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches