Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001333/0.001333, allocations: 111.7 kB / 17.74 MB, free: 5.32 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.001237/0.001237, allocations: 189.6 kB / 18.67 MB, free: 4.398 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9736/0.9736, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.39 kB / 0.573 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1376, allocations: 80.68 MB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002471/0.1401, allocations: 1.382 MB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.1411, allocations: 0.5223 MB / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.1412, allocations: 0 / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.503e-05/0.1412, allocations: 7.922 kB / 0.6537 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1415, allocations: 51.75 kB / 0.6537 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.1417, allocations: 39.81 kB / 0.6538 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.1422, allocations: 0.5499 MB / 0.6543 GB, free: 9.023 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.1423, allocations: 12.19 kB / 0.6543 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.1426, allocations: 203.7 kB / 0.6545 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.1431, allocations: 283.4 kB / 0.6548 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1432, allocations: 28 kB / 0.6548 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.1434, allocations: 51.98 kB / 0.6549 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.1437, allocations: 235.5 kB / 0.6551 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.144, allocations: 238.8 kB / 0.6553 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.1444, allocations: 438.5 kB / 0.6557 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1444, allocations: 0 / 0.6557 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1444, allocations: 0 / 0.6557 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.1445, allocations: 0 / 0.6557 GB, free: 7.562 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.001814/0.1463, allocations: 0.8115 MB / 0.6565 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1463, allocations: 19.88 kB / 0.6565 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1465, allocations: 48.47 kB / 0.6566 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.1469, allocations: 331.6 kB / 0.6569 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1469, allocations: 29 kB / 0.6569 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.1471, allocations: 67.73 kB / 0.657 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009804/0.1481, allocations: 0.5802 MB / 0.6576 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1481, allocations: 4 kB / 0.6576 GB, free: 5.586 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.1481, allocations: 16 kB / 0.6576 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1482, allocations: 12 kB / 0.6576 GB, free: 5.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/0.1491, allocations: 0.5894 MB / 0.6582 GB, free: 4.969 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.1499, allocations: 0.6099 MB / 0.6588 GB, free: 4.312 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.1531, allocations: 1.364 MB / 0.6601 GB, free: 2.941 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.1538, allocations: 459.5 kB / 0.6605 GB, free: 2.488 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.154, allocations: 110.1 kB / 0.6606 GB, free: 2.363 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/0.1541, allocations: 43.56 kB / 0.6607 GB, free: 2.312 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.254e-06/0.1541, allocations: 0 / 0.6607 GB, free: 2.312 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002011/0.1561, allocations: 1.342 MB / 0.662 GB, free: 0.9648 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1561, allocations: 64.41 kB / 0.6621 GB, free: 0.8867 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1563, allocations: 174.6 kB / 0.6622 GB, free: 0.707 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.1564, allocations: 41.7 kB / 0.6623 GB, free: 0.6602 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.1564, allocations: 106.1 kB / 0.6624 GB, free: 0.5508 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.1567, allocations: 406.2 kB / 0.6628 GB, free: 152 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.157, allocations: 203 kB / 0.6629 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1572, allocations: 366.7 kB / 0.6633 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.1579, allocations: 478.2 kB / 0.6638 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006993/0.1586, allocations: 487.5 kB / 0.6642 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.1601, allocations: 1.04 MB / 0.6652 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.1601, allocations: 0 / 0.6652 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001803/0.1619, allocations: 1.242 MB / 0.6664 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1619, allocations: 6.969 kB / 0.6665 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1619, allocations: 0 / 0.6665 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.162, allocations: 8 kB / 0.6665 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.163, allocations: 271.6 kB / 0.6667 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.522e-05/0.1631, allocations: 7.984 kB / 0.6667 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.1635, allocations: 79.12 kB / 0.6668 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.1636, allocations: 35.98 kB / 0.6668 GB, free: 11.94 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.0002922/0.1639, allocations: 214.4 kB / 0.667 GB, free: 11.72 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.164, allocations: 43.53 kB / 0.6671 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.1663, allocations: 1.392 MB / 0.6684 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.1663, allocations: 19.98 kB / 0.6685 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.1664, allocations: 0 / 0.6685 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.1664, allocations: 7.984 kB / 0.6685 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/0.1673, allocations: 0.7386 MB / 0.6692 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1673, allocations: 4 kB / 0.6692 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.1687, allocations: 303.7 kB / 0.6695 GB, free: 9.168 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.493e-05/0.1688, allocations: 4 kB / 0.6695 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.1689, allocations: 63.81 kB / 0.6695 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.1689, allocations: 4 kB / 0.6696 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1689, allocations: 0 / 0.6696 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.1716, allocations: 1.862 MB / 0.6714 GB, free: 7.215 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.172, allocations: 248 kB / 0.6716 GB, free: 6.953 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.1721, allocations: 39.98 kB / 0.6716 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.1725, allocations: 20 kB / 0.6717 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.1726, allocations: 85.19 kB / 0.6717 GB, free: 6.809 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.1727, allocations: 43.98 kB / 0.6718 GB, free: 6.766 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001124/0.1728, allocations: 136.3 kB / 0.6719 GB, free: 6.633 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1728, allocations: 0 / 0.6719 GB, free: 6.633 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005698/0.1734, allocations: 236 kB / 0.6721 GB, free: 6.402 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.0002861/0.1737, allocations: 162.9 kB / 0.6723 GB, free: 6.234 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00179/0.1755, allocations: 1.151 MB / 0.6734 GB, free: 5.082 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1755, allocations: 3.938 kB / 0.6734 GB, free: 5.078 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.1764, allocations: 0.6436 MB / 0.6741 GB, free: 4.438 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.1769, allocations: 99.94 kB / 0.6741 GB, free: 4.34 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.1808, allocations: 2.853 MB / 0.6769 GB, free: 1.449 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.1813, allocations: 0.9234 MB / 0.6778 GB, free: 0.5 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.1817, allocations: 99.41 kB / 0.6779 GB, free: 412 kB / 0.5139 GB Notification: Performance of SimCode: time 3.81e-07/0.1817, allocations: 0 / 0.6779 GB, free: 412 kB / 0.5139 GB Notification: Performance of Templates: time 0.01424/0.1959, allocations: 9.554 MB / 0.6873 GB, free: 6.863 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches