Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 105.4 kB / 17.06 MB, free: 6.027 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.001727/0.001727, allocations: 196.7 kB / 18 MB, free: 5.105 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.208/1.208, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8355/0.8355, allocations: 119.3 MB / 411.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 61.16 kB / 0.5724 GB, free: 38.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1401, 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_20): time 0.002361/0.1425, allocations: 1.39 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.1434, allocations: 0.5145 MB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.1435, allocations: 4 kB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.186e-05/0.1436, allocations: 11.92 kB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.1439, allocations: 59.73 kB / 0.6531 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.144, allocations: 31.89 kB / 0.6531 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.1445, allocations: 0.5498 MB / 0.6537 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.1446, allocations: 12.16 kB / 0.6537 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.1449, allocations: 195.7 kB / 0.6539 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.1453, allocations: 279.4 kB / 0.6541 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.971e-05/0.1454, allocations: 32 kB / 0.6542 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1456, allocations: 51.97 kB / 0.6542 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.1458, allocations: 235.5 kB / 0.6544 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.1461, allocations: 242.8 kB / 0.6547 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.1465, allocations: 434.5 kB / 0.6551 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1465, allocations: 4 kB / 0.6551 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1465, allocations: 0 / 0.6551 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.1466, allocations: 0 / 0.6551 GB, free: 7.559 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001697/0.1483, allocations: 0.8115 MB / 0.6559 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1483, allocations: 11.89 kB / 0.6559 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.1484, allocations: 48.47 kB / 0.6559 GB, free: 6.637 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.1489, allocations: 335.5 kB / 0.6563 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.1489, allocations: 29 kB / 0.6563 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.149, allocations: 59.8 kB / 0.6563 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/0.1499, allocations: 0.588 MB / 0.6569 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1499, allocations: 0 / 0.6569 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.15, allocations: 16 kB / 0.6569 GB, free: 5.574 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.15, allocations: 12 kB / 0.6569 GB, free: 5.562 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.1508, allocations: 0.5854 MB / 0.6575 GB, free: 4.977 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.1516, allocations: 0.6177 MB / 0.6581 GB, free: 4.312 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.1547, allocations: 1.364 MB / 0.6594 GB, free: 2.941 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.1553, allocations: 459.6 kB / 0.6599 GB, free: 2.488 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.1556, allocations: 102 kB / 0.66 GB, free: 2.371 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1556, allocations: 47.56 kB / 0.66 GB, free: 2.316 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.074e-06/0.1556, allocations: 0 / 0.66 GB, free: 2.316 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.001995/0.1576, allocations: 1.35 MB / 0.6613 GB, free: 0.9609 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1577, allocations: 60.41 kB / 0.6614 GB, free: 0.8867 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1578, allocations: 174.7 kB / 0.6616 GB, free: 0.707 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.1579, allocations: 45.7 kB / 0.6616 GB, free: 0.6562 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.158, allocations: 106.1 kB / 0.6617 GB, free: 0.5469 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.1582, allocations: 398.2 kB / 0.6621 GB, free: 156 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.1585, allocations: 195 kB / 0.6623 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.1587, allocations: 374.7 kB / 0.6626 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.1594, allocations: 470.3 kB / 0.6631 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/0.1601, allocations: 487.5 kB / 0.6636 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.1615, allocations: 1.048 MB / 0.6646 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1615, allocations: 0 / 0.6646 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001682/0.1632, allocations: 1.246 MB / 0.6658 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1632, allocations: 8 kB / 0.6658 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1632, allocations: 0 / 0.6658 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1632, allocations: 4 kB / 0.6658 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.1643, allocations: 271.7 kB / 0.6661 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.1643, allocations: 4 kB / 0.6661 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.1646, allocations: 75.12 kB / 0.6661 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.1647, allocations: 39.98 kB / 0.6662 GB, free: 11.95 MB / 0.5139 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 (144): * Single equations (assignments): 144 * 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.00024/0.165, allocations: 218.3 kB / 0.6664 GB, free: 11.72 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.1651, allocations: 43.53 kB / 0.6664 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.1673, allocations: 1.392 MB / 0.6678 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.1673, allocations: 12 kB / 0.6678 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1673, allocations: 0 / 0.6678 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.1673, allocations: 11.97 kB / 0.6678 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008482/0.1682, allocations: 0.7426 MB / 0.6685 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1682, allocations: 0 / 0.6685 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.1695, allocations: 307.6 kB / 0.6688 GB, free: 9.168 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.637e-05/0.1696, allocations: 8 kB / 0.6688 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.1697, allocations: 47.91 kB / 0.6689 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-05/0.1697, allocations: 11.98 kB / 0.6689 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1697, allocations: 0 / 0.6689 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.1725, allocations: 1.862 MB / 0.6707 GB, free: 7.219 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.1728, allocations: 248 kB / 0.6709 GB, free: 6.957 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.173, allocations: 39.97 kB / 0.671 GB, free: 6.918 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.1733, allocations: 24 kB / 0.671 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.1734, allocations: 81.19 kB / 0.6711 GB, free: 6.812 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.1735, allocations: 43.98 kB / 0.6711 GB, free: 6.77 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 9.43e-05/0.1736, allocations: 148.2 kB / 0.6713 GB, free: 6.625 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1736, allocations: 0 / 0.6713 GB, free: 6.625 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004972/0.1741, allocations: 232 kB / 0.6715 GB, free: 6.398 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0003027/0.1744, allocations: 159 kB / 0.6716 GB, free: 6.234 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.1764, allocations: 1.151 MB / 0.6728 GB, free: 5.082 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1764, allocations: 0 / 0.6728 GB, free: 5.082 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.1774, allocations: 0.6358 MB / 0.6734 GB, free: 4.449 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.1779, allocations: 104 kB / 0.6735 GB, free: 4.348 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.1817, allocations: 2.816 MB / 0.6762 GB, free: 1.5 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.1821, allocations: 0.9268 MB / 0.6771 GB, free: 0.5469 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0007014/0.1828, allocations: 368.8 kB / 0.6775 GB, free: 188 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.1831, allocations: 91.41 kB / 0.6776 GB, free: 96 kB / 0.5139 GB Notification: Performance of SimCode: time 4.01e-07/0.1831, allocations: 0 / 0.6776 GB, free: 96 kB / 0.5139 GB Notification: Performance of Templates: time 0.01575/0.1989, allocations: 10.25 MB / 0.6876 GB, free: 5.891 MB / 0.5295 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches