Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 115.8 kB / 17.07 MB, free: 5.969 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.001141/0.001141, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.256/1.256, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9402/0.9402, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001786, allocations: 61.69 kB / 0.5724 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1286, allocations: 80.69 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002147/0.1307, allocations: 1.382 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.1315, allocations: 0.5146 MB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.1316, allocations: 0 / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.449e-05/0.1317, allocations: 7.922 kB / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.132, allocations: 59.73 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.1321, allocations: 39.88 kB / 0.6531 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.1324, allocations: 315.4 kB / 0.6534 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.1324, allocations: 8.125 kB / 0.6534 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1326, allocations: 119.8 kB / 0.6536 GB, free: 9.117 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1328, allocations: 155.7 kB / 0.6537 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.1329, allocations: 20 kB / 0.6537 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.133, allocations: 39.97 kB / 0.6538 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1331, allocations: 119.7 kB / 0.6539 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1333, allocations: 127.4 kB / 0.654 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1335, allocations: 243.1 kB / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1335, allocations: 0 / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1335, allocations: 4 kB / 0.6542 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1336, allocations: 0 / 0.6542 GB, free: 8.422 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009825/0.1345, allocations: 0.5771 MB / 0.6548 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1346, allocations: 11.89 kB / 0.6548 GB, free: 7.785 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.1346, allocations: 28.66 kB / 0.6548 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1349, allocations: 257.8 kB / 0.6551 GB, free: 7.469 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1349, allocations: 20.44 kB / 0.6551 GB, free: 7.449 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.135, allocations: 31.91 kB / 0.6551 GB, free: 7.418 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.1355, allocations: 315.1 kB / 0.6554 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1355, allocations: 3.938 kB / 0.6554 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1355, allocations: 12 kB / 0.6554 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1355, allocations: 4 kB / 0.6554 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.1359, allocations: 285.5 kB / 0.6557 GB, free: 6.805 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.1364, allocations: 399.2 kB / 0.6561 GB, free: 6.363 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.138, allocations: 0.6737 MB / 0.6568 GB, free: 5.684 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.1383, allocations: 238 kB / 0.657 GB, free: 5.449 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.1385, allocations: 98.12 kB / 0.6571 GB, free: 5.336 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1385, allocations: 35 kB / 0.6571 GB, free: 5.293 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.372e-06/0.1385, allocations: 3.938 kB / 0.6571 GB, free: 5.289 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001016/0.1395, allocations: 0.6956 MB / 0.6578 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.1396, allocations: 55.84 kB / 0.6578 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1397, allocations: 153.5 kB / 0.658 GB, free: 4.352 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1397, allocations: 33.7 kB / 0.658 GB, free: 4.312 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.1398, allocations: 101.1 kB / 0.6581 GB, free: 4.207 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.14, allocations: 209 kB / 0.6583 GB, free: 4 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.1401, allocations: 110.3 kB / 0.6584 GB, free: 3.887 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1403, allocations: 338.8 kB / 0.6588 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.1407, allocations: 241.1 kB / 0.659 GB, free: 3.312 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.141, allocations: 245.7 kB / 0.6592 GB, free: 3.07 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.1417, allocations: 0.532 MB / 0.6597 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1417, allocations: 0 / 0.6597 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000857/0.1426, allocations: 0.653 MB / 0.6604 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1426, allocations: 4 kB / 0.6604 GB, free: 1.871 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1426, allocations: 0 / 0.6604 GB, free: 1.871 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1426, allocations: 4 kB / 0.6604 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.1432, allocations: 143.8 kB / 0.6605 GB, free: 1.727 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1432, allocations: 0 / 0.6605 GB, free: 1.727 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1434, allocations: 39.53 kB / 0.6606 GB, free: 1.688 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.1434, allocations: 23.98 kB / 0.6606 GB, free: 1.664 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 (74): * Single equations (assignments): 74 * 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.0001415/0.1436, allocations: 166.5 kB / 0.6607 GB, free: 1.492 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.1436, allocations: 27.72 kB / 0.6608 GB, free: 1.465 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.1447, allocations: 0.7283 MB / 0.6615 GB, free: 0.7344 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1447, allocations: 11.94 kB / 0.6615 GB, free: 0.7227 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1447, allocations: 0 / 0.6615 GB, free: 0.7227 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1447, allocations: 3.984 kB / 0.6615 GB, free: 0.7188 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.1452, allocations: 449.6 kB / 0.6619 GB, free: 236 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1453, allocations: 0 / 0.6619 GB, free: 236 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.146, allocations: 159.8 kB / 0.6621 GB, free: 76 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.146, allocations: 4 kB / 0.6621 GB, free: 72 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.146, allocations: 23.98 kB / 0.6621 GB, free: 48 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.146, allocations: 7.938 kB / 0.6621 GB, free: 40 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.146, allocations: 4 kB / 0.6621 GB, free: 36 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.1473, allocations: 0.9669 MB / 0.6631 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.1475, allocations: 172.6 kB / 0.6632 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.1475, allocations: 16 kB / 0.6632 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.1477, allocations: 19.98 kB / 0.6633 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.1478, allocations: 40.59 kB / 0.6633 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.1478, allocations: 20 kB / 0.6633 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.1479, allocations: 119.2 kB / 0.6634 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.353e-06/0.1479, allocations: 0 / 0.6634 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003224/0.1482, allocations: 127.9 kB / 0.6635 GB, free: 14.52 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.000162/0.1484, allocations: 134.7 kB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007961/0.1492, allocations: 0.5872 MB / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.1492, allocations: 0 / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.1496, allocations: 327.5 kB / 0.6646 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1499, allocations: 63.84 kB / 0.6646 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1519, allocations: 1.507 MB / 0.6661 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1523, allocations: 0.8051 MB / 0.6669 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003253/0.1526, allocations: 175.1 kB / 0.667 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1528, allocations: 51.42 kB / 0.6671 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of SimCode: time 2.21e-07/0.1528, allocations: 0 / 0.6671 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of Templates: time 0.008723/0.1615, allocations: 5.478 MB / 0.6724 GB, free: 5.391 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches