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.001693/0.001693, allocations: 115 kB / 17.75 MB, free: 5.355 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.001982/0.001982, allocations: 186.1 kB / 18.68 MB, free: 4.434 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.369/1.369, 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.949/0.949, allocations: 119.3 MB / 411.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 66.77 kB / 0.573 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 80.7 MB / 0.6518 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002275/0.1381, allocations: 1.378 MB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007967/0.139, allocations: 0.5185 MB / 0.6537 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.139, allocations: 0 / 0.6537 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.949e-05/0.1391, allocations: 11.86 kB / 0.6537 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.1394, allocations: 55.75 kB / 0.6538 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.1395, allocations: 35.88 kB / 0.6538 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.1399, allocations: 315.4 kB / 0.6541 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.954e-05/0.1399, allocations: 12.12 kB / 0.6541 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1401, allocations: 115.8 kB / 0.6542 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.1404, allocations: 163.6 kB / 0.6544 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.1405, allocations: 16 kB / 0.6544 GB, free: 8.926 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1406, allocations: 35.97 kB / 0.6544 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1408, allocations: 123.7 kB / 0.6545 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1409, allocations: 119.4 kB / 0.6546 GB, free: 8.652 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1412, allocations: 247.1 kB / 0.6549 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.1412, allocations: 4 kB / 0.6549 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.003e-06/0.1413, allocations: 4 kB / 0.6549 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.1413, allocations: 0 / 0.6549 GB, free: 8.402 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.001181/0.1425, allocations: 0.5693 MB / 0.6554 GB, free: 7.785 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1425, allocations: 19.83 kB / 0.6555 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.761e-05/0.1426, allocations: 32.59 kB / 0.6555 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.1429, allocations: 253.9 kB / 0.6557 GB, free: 7.449 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1429, allocations: 12.44 kB / 0.6557 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.143, allocations: 35.89 kB / 0.6558 GB, free: 7.402 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.1436, allocations: 319.1 kB / 0.6561 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1436, allocations: 0 / 0.6561 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1436, allocations: 4 kB / 0.6561 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1436, allocations: 4 kB / 0.6561 GB, free: 7.074 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.144, allocations: 293.5 kB / 0.6564 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.1445, allocations: 403.2 kB / 0.6568 GB, free: 6.344 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.1462, allocations: 0.6779 MB / 0.6574 GB, free: 5.66 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.1465, allocations: 234 kB / 0.6576 GB, free: 5.43 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.1467, allocations: 93.52 kB / 0.6577 GB, free: 5.32 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1468, allocations: 39 kB / 0.6578 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.673e-06/0.1468, allocations: 0 / 0.6578 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001107/0.1479, allocations: 0.6998 MB / 0.6585 GB, free: 4.562 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1479, allocations: 59.84 kB / 0.6585 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1481, allocations: 145 kB / 0.6587 GB, free: 4.336 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.1481, allocations: 37.7 kB / 0.6587 GB, free: 4.293 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.1482, allocations: 97.12 kB / 0.6588 GB, free: 4.191 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.1483, allocations: 209 kB / 0.659 GB, free: 3.984 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1485, allocations: 110.3 kB / 0.6591 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1486, allocations: 338.8 kB / 0.6594 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.149, allocations: 237.1 kB / 0.6596 GB, free: 3.301 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.1493, allocations: 253.7 kB / 0.6599 GB, free: 3.051 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007314/0.1501, allocations: 0.5242 MB / 0.6604 GB, free: 2.523 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1501, allocations: 0 / 0.6604 GB, free: 2.523 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008998/0.151, allocations: 0.6491 MB / 0.661 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.151, allocations: 4 kB / 0.661 GB, free: 1.863 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.151, allocations: 0 / 0.661 GB, free: 1.863 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.151, allocations: 4 kB / 0.661 GB, free: 1.859 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.1516, allocations: 143.8 kB / 0.6612 GB, free: 1.719 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1516, allocations: 11.92 kB / 0.6612 GB, free: 1.707 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1518, allocations: 35.53 kB / 0.6612 GB, free: 1.672 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.1518, allocations: 24 kB / 0.6612 GB, free: 1.648 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.0001624/0.152, allocations: 162.5 kB / 0.6614 GB, free: 1.48 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.1521, allocations: 23.72 kB / 0.6614 GB, free: 1.457 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.1532, allocations: 0.7283 MB / 0.6621 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1532, allocations: 0 / 0.6621 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1533, allocations: 11.88 kB / 0.6621 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1534, allocations: 168.6 kB / 0.6623 GB, free: 0.5312 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.1535, allocations: 19.98 kB / 0.6623 GB, free: 0.5117 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.1537, allocations: 8 kB / 0.6623 GB, free: 0.5039 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.1538, allocations: 52.59 kB / 0.6624 GB, free: 464 kB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001803/0.1556, allocations: 0.8713 MB / 0.6632 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001456/0.1571, allocations: 1.178 MB / 0.6644 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004109/0.1575, allocations: 313 kB / 0.6647 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.644e-05/0.1576, allocations: 111.2 kB / 0.6648 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of Backend: time 4.01e-07/0.1576, allocations: 0 / 0.6648 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009035/0.1585, allocations: 465.4 kB / 0.6652 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of SimCode: time 0.001729/0.1602, allocations: 1.726 MB / 0.6669 GB, free: 11.72 MB / 0.5139 GB Notification: Performance of Templates: time 0.00991/0.1702, allocations: 6.277 MB / 0.673 GB, free: 5.477 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) "" Variables in the reference: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] Variables in the result:Cd,Cu[10],Cu[1],Cu[2],Cu[3],Cu[4],Cu[5],Cu[6],Cu[7],Cu[8],Cu[9],Gh,Gu,Kp,N,Qh[10],Qh[1],Qh[2],Qh[3],Qmax,Que[10],Que[1],Que[2],Que[3],Td0,Teps,Tu0,Tu[10],Tu[1],Tu[2],Tu[3],a,b,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,u[10],u[1],u[2],u[3],x[10],x[1],x[2],x[3]