Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 114.2 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9391/0.9391, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 65.67 kB / 0.5724 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1321, allocations: 80.69 MB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002266/0.1344, allocations: 1.386 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.1353, allocations: 0.5146 MB / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.1354, allocations: 0 / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.596e-05/0.1355, allocations: 7.922 kB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.1357, allocations: 55.75 kB / 0.6531 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.1359, allocations: 39.81 kB / 0.6531 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1361, allocations: 191.5 kB / 0.6533 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1362, allocations: 12.17 kB / 0.6533 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1363, allocations: 83.81 kB / 0.6534 GB, free: 9.293 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1365, allocations: 99.69 kB / 0.6535 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.1365, allocations: 8 kB / 0.6535 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.1366, allocations: 31.97 kB / 0.6535 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.1367, allocations: 63.84 kB / 0.6536 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.713e-05/0.1368, allocations: 67.66 kB / 0.6537 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.137, allocations: 143.5 kB / 0.6538 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.137, allocations: 4 kB / 0.6538 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.203e-06/0.137, allocations: 4 kB / 0.6538 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.137, allocations: 0 / 0.6538 GB, free: 8.879 MB / 0.4983 GB 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.0007961/0.1378, allocations: 475.2 kB / 0.6543 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1379, allocations: 11.89 kB / 0.6543 GB, free: 8.352 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1379, allocations: 12.84 kB / 0.6543 GB, free: 8.34 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1382, allocations: 219.7 kB / 0.6545 GB, free: 8.086 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1382, allocations: 8.234 kB / 0.6545 GB, free: 8.078 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.1382, allocations: 12 kB / 0.6545 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1385, allocations: 179.4 kB / 0.6547 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1385, allocations: 0 / 0.6547 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1385, allocations: 4 kB / 0.6547 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1386, allocations: 4 kB / 0.6547 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1388, allocations: 152.6 kB / 0.6548 GB, free: 7.73 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.1391, allocations: 282.2 kB / 0.6551 GB, free: 7.406 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.14, allocations: 370.5 kB / 0.6555 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.1403, allocations: 120.8 kB / 0.6556 GB, free: 6.914 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.1404, allocations: 93.08 kB / 0.6557 GB, free: 6.805 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1404, allocations: 38.5 kB / 0.6557 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.1405, allocations: 0 / 0.6557 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0006063/0.1411, allocations: 374.1 kB / 0.656 GB, free: 6.387 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1411, allocations: 51.41 kB / 0.6561 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.1412, allocations: 133.7 kB / 0.6562 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1412, allocations: 29.7 kB / 0.6563 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1413, allocations: 96.7 kB / 0.6563 GB, free: 6.051 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.1414, allocations: 106.5 kB / 0.6564 GB, free: 5.945 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.1415, allocations: 66.02 kB / 0.6565 GB, free: 5.871 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1416, allocations: 330.8 kB / 0.6568 GB, free: 5.539 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1418, allocations: 120.6 kB / 0.6569 GB, free: 5.422 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.1419, allocations: 133.1 kB / 0.6571 GB, free: 5.293 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.1424, allocations: 279 kB / 0.6573 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1424, allocations: 0 / 0.6573 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004981/0.1429, allocations: 353.2 kB / 0.6577 GB, free: 4.668 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1429, allocations: 4 kB / 0.6577 GB, free: 4.664 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1429, allocations: 0 / 0.6577 GB, free: 4.664 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1429, allocations: 4 kB / 0.6577 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.1432, allocations: 75.89 kB / 0.6578 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1433, allocations: 4 kB / 0.6578 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1434, allocations: 15.84 kB / 0.6578 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.1434, allocations: 12 kB / 0.6578 GB, free: 4.555 MB / 0.4983 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 (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.0001011/0.1435, allocations: 134.6 kB / 0.6579 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1435, allocations: 19.81 kB / 0.6579 GB, free: 4.395 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006168/0.1442, allocations: 411.3 kB / 0.6583 GB, free: 3.98 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1442, allocations: 4 kB / 0.6583 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1442, allocations: 0 / 0.6583 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1442, allocations: 3.984 kB / 0.6583 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1445, allocations: 321.2 kB / 0.6586 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1445, allocations: 4 kB / 0.6586 GB, free: 3.605 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.1449, allocations: 79.91 kB / 0.6587 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1449, allocations: 4 kB / 0.6587 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.145, allocations: 11.98 kB / 0.6587 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.145, allocations: 4 kB / 0.6587 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.145, allocations: 0 / 0.6587 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/0.1457, allocations: 0.5296 MB / 0.6593 GB, free: 2.957 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1458, allocations: 132.8 kB / 0.6594 GB, free: 2.809 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.1459, allocations: 19.86 kB / 0.6594 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.146, allocations: 4 kB / 0.6594 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.1461, allocations: 23.97 kB / 0.6594 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1461, allocations: 8 kB / 0.6594 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.1462, allocations: 106.1 kB / 0.6595 GB, free: 2.652 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1462, allocations: 0 / 0.6595 GB, free: 2.652 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002547/0.1464, allocations: 67.98 kB / 0.6596 GB, free: 2.586 MB / 0.4983 GB 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.000153/0.1466, allocations: 115.7 kB / 0.6597 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.1471, allocations: 311.9 kB / 0.66 GB, free: 2.16 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1471, allocations: 0 / 0.66 GB, free: 2.16 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.1473, allocations: 171.8 kB / 0.6602 GB, free: 1.992 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.1475, allocations: 31.64 kB / 0.6602 GB, free: 1.965 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1488, allocations: 0.8509 MB / 0.661 GB, free: 1.09 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1491, allocations: 0.7449 MB / 0.6618 GB, free: 324 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.1493, allocations: 85.86 kB / 0.6618 GB, free: 236 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.1493, allocations: 31.42 kB / 0.6619 GB, free: 204 kB / 0.4983 GB Notification: Performance of SimCode: time 1.413e-06/0.1494, allocations: 4.109 kB / 0.6619 GB, free: 200 kB / 0.4983 GB Notification: Performance of Templates: time 0.005743/0.1551, allocations: 3.11 MB / 0.6649 GB, free: 13.12 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches