Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001493/0.001493, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001701/0.001701, allocations: 188.5 kB / 18.67 MB, free: 4.441 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.315/1.315, allocations: 222.9 MB / 242.4 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.8593/0.8593, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 65.73 kB / 0.573 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1373, allocations: 80.69 MB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002958/0.1403, allocations: 1.39 MB / 0.6532 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.1412, allocations: 0.5146 MB / 0.6537 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.1413, allocations: 0 / 0.6537 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.933e-05/0.1414, allocations: 11.92 kB / 0.6537 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.1418, allocations: 55.73 kB / 0.6537 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.1419, allocations: 39.89 kB / 0.6538 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.1423, allocations: 323.3 kB / 0.6541 GB, free: 9.254 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.1423, allocations: 8.172 kB / 0.6541 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1425, allocations: 115.8 kB / 0.6542 GB, free: 9.133 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.1428, allocations: 155.6 kB / 0.6544 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.1429, allocations: 16 kB / 0.6544 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.143, allocations: 35.98 kB / 0.6544 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1432, allocations: 127.7 kB / 0.6545 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.1433, allocations: 127.4 kB / 0.6546 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1436, allocations: 243.1 kB / 0.6549 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1436, allocations: 0 / 0.6549 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1436, allocations: 0 / 0.6549 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.1436, allocations: 0 / 0.6549 GB, free: 8.441 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.001115/0.1448, allocations: 0.5811 MB / 0.6554 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1448, allocations: 11.89 kB / 0.6555 GB, free: 7.801 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.1449, allocations: 24.66 kB / 0.6555 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.1452, allocations: 251.6 kB / 0.6557 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1452, allocations: 16.44 kB / 0.6557 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.1453, allocations: 31.91 kB / 0.6558 GB, free: 7.445 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.1458, allocations: 315.1 kB / 0.6561 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1458, allocations: 0 / 0.6561 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.1459, allocations: 12 kB / 0.6561 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1459, allocations: 11.98 kB / 0.6561 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.1463, allocations: 293.4 kB / 0.6564 GB, free: 6.82 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1468, allocations: 399.2 kB / 0.6568 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.1485, allocations: 0.6758 MB / 0.6574 GB, free: 5.699 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.1488, allocations: 230 kB / 0.6576 GB, free: 5.473 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.149, allocations: 93.53 kB / 0.6577 GB, free: 5.363 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.149, allocations: 35.56 kB / 0.6578 GB, free: 5.32 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.674e-06/0.149, allocations: 4 kB / 0.6578 GB, free: 5.316 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001091/0.1501, allocations: 0.6994 MB / 0.6584 GB, free: 4.605 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1502, allocations: 55.84 kB / 0.6585 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1503, allocations: 153.4 kB / 0.6586 GB, free: 4.375 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1504, allocations: 33.7 kB / 0.6587 GB, free: 4.336 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.1504, allocations: 97.14 kB / 0.6588 GB, free: 4.234 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.1506, allocations: 216.9 kB / 0.659 GB, free: 4.02 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1507, allocations: 110.3 kB / 0.6591 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1509, allocations: 342.8 kB / 0.6594 GB, free: 3.562 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.1512, allocations: 237.1 kB / 0.6596 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.1516, allocations: 245.7 kB / 0.6599 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.1523, allocations: 0.532 MB / 0.6604 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1523, allocations: 0 / 0.6604 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008771/0.1532, allocations: 0.6452 MB / 0.661 GB, free: 1.902 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1532, allocations: 4 kB / 0.661 GB, free: 1.898 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1532, allocations: 0 / 0.661 GB, free: 1.898 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1532, allocations: 4 kB / 0.661 GB, free: 1.895 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/0.1538, allocations: 143.7 kB / 0.6612 GB, free: 1.754 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1538, allocations: 8 kB / 0.6612 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.154, allocations: 39.53 kB / 0.6612 GB, free: 1.707 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.1541, allocations: 24 kB / 0.6612 GB, free: 1.684 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.000144/0.1542, allocations: 166.5 kB / 0.6614 GB, free: 1.512 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.1543, allocations: 23.72 kB / 0.6614 GB, free: 1.488 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.1554, allocations: 0.7244 MB / 0.6621 GB, free: 0.7617 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1554, allocations: 7.938 kB / 0.6621 GB, free: 0.7539 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1554, allocations: 8 kB / 0.6621 GB, free: 0.7461 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1554, allocations: 3.984 kB / 0.6621 GB, free: 0.7422 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1559, allocations: 453.6 kB / 0.6626 GB, free: 256 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1559, allocations: 0 / 0.6626 GB, free: 256 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.1566, allocations: 163.8 kB / 0.6627 GB, free: 92 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1567, allocations: 4 kB / 0.6627 GB, free: 88 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.1567, allocations: 19.98 kB / 0.6627 GB, free: 68 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1567, allocations: 7.938 kB / 0.6628 GB, free: 60 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1567, allocations: 0 / 0.6628 GB, free: 60 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.158, allocations: 0.9669 MB / 0.6637 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.1582, allocations: 172.6 kB / 0.6639 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.1583, allocations: 23.98 kB / 0.6639 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.1585, allocations: 12 kB / 0.6639 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.1586, allocations: 40.59 kB / 0.6639 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.1586, allocations: 23.98 kB / 0.664 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.088e-05/0.1587, allocations: 111.2 kB / 0.6641 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1587, allocations: 3.938 kB / 0.6641 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000314/0.159, allocations: 124 kB / 0.6642 GB, free: 14.55 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.0001642/0.1592, allocations: 139 kB / 0.6643 GB, free: 14.4 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008114/0.16, allocations: 0.5794 MB / 0.6649 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.16, allocations: 0 / 0.6649 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.1604, allocations: 331.5 kB / 0.6652 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1607, allocations: 67.83 kB / 0.6653 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.1627, allocations: 1.54 MB / 0.6668 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.163, allocations: 0.8051 MB / 0.6676 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.1632, allocations: 51.42 kB / 0.6676 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of SimCode: time 2.3e-07/0.1632, allocations: 0 / 0.6676 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of Templates: time 0.0071/0.1703, allocations: 5.193 MB / 0.6727 GB, free: 5.801 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches