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.001015/0.001015, allocations: 113.2 kB / 17.06 MB, free: 5.809 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.001024/0.001024, allocations: 200 kB / 18 MB, free: 4.949 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.19/1.19, 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.8015/0.8015, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 58.22 kB / 0.5724 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1149, allocations: 80.69 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00195/0.1168, allocations: 1.378 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007257/0.1176, allocations: 0.5184 MB / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.1176, allocations: 0 / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 6.935e-05/0.1177, allocations: 15.92 kB / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1179, allocations: 55.73 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 9.496e-05/0.118, allocations: 35.89 kB / 0.6531 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.1183, allocations: 323.3 kB / 0.6534 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.1184, allocations: 4.188 kB / 0.6534 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1185, allocations: 115.8 kB / 0.6535 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1187, allocations: 159.7 kB / 0.6537 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.1188, allocations: 16 kB / 0.6537 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1189, allocations: 35.98 kB / 0.6537 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.119, allocations: 131.6 kB / 0.6539 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1192, allocations: 123.4 kB / 0.654 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1194, allocations: 243.1 kB / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1194, allocations: 0 / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1194, allocations: 0 / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1194, allocations: 0 / 0.6542 GB, free: 8.426 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.0009609/0.1204, allocations: 0.5811 MB / 0.6548 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.1204, allocations: 11.89 kB / 0.6548 GB, free: 7.785 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.1205, allocations: 24.66 kB / 0.6548 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1208, allocations: 251.6 kB / 0.6551 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1208, allocations: 16.44 kB / 0.6551 GB, free: 7.461 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.1209, allocations: 31.89 kB / 0.6551 GB, free: 7.43 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.1213, allocations: 319 kB / 0.6554 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1213, allocations: 4 kB / 0.6554 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.1214, allocations: 12 kB / 0.6554 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1214, allocations: 4 kB / 0.6554 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.1218, allocations: 289.5 kB / 0.6557 GB, free: 6.809 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.1222, allocations: 399.2 kB / 0.6561 GB, free: 6.367 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.1238, allocations: 0.6759 MB / 0.6567 GB, free: 5.688 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.1241, allocations: 230.7 kB / 0.657 GB, free: 5.461 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.1243, allocations: 97.52 kB / 0.6571 GB, free: 5.348 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1244, allocations: 42.94 kB / 0.6571 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.503e-06/0.1244, allocations: 3.938 kB / 0.6571 GB, free: 5.293 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001022/0.1254, allocations: 0.6956 MB / 0.6578 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1254, allocations: 59.84 kB / 0.6578 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1255, allocations: 142.4 kB / 0.658 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.1256, allocations: 37.7 kB / 0.658 GB, free: 4.316 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.1256, allocations: 101.1 kB / 0.6581 GB, free: 4.211 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.1258, allocations: 208.9 kB / 0.6583 GB, free: 4.004 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1259, allocations: 110.3 kB / 0.6584 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.126, allocations: 342.8 kB / 0.6587 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.1263, allocations: 233.1 kB / 0.659 GB, free: 3.32 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.1267, allocations: 249.7 kB / 0.6592 GB, free: 3.074 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.1274, allocations: 0.532 MB / 0.6597 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1274, allocations: 0 / 0.6597 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008441/0.1283, allocations: 0.6452 MB / 0.6604 GB, free: 1.887 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1283, allocations: 4 kB / 0.6604 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1283, allocations: 3.984 kB / 0.6604 GB, free: 1.879 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1283, allocations: 8 kB / 0.6604 GB, free: 1.871 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.1288, allocations: 147.7 kB / 0.6605 GB, free: 1.727 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1288, allocations: 0 / 0.6605 GB, free: 1.727 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.129, allocations: 43.53 kB / 0.6605 GB, free: 1.684 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.1291, allocations: 20 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.0001338/0.1292, allocations: 166.5 kB / 0.6607 GB, free: 1.492 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.1293, allocations: 27.7 kB / 0.6608 GB, free: 1.465 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.1303, allocations: 0.7205 MB / 0.6615 GB, free: 0.7422 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1303, allocations: 11.94 kB / 0.6615 GB, free: 0.7305 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1303, allocations: 4 kB / 0.6615 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1304, allocations: 7.969 kB / 0.6615 GB, free: 0.7188 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1308, allocations: 449.6 kB / 0.6619 GB, free: 236 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1308, allocations: 0 / 0.6619 GB, free: 236 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.1315, allocations: 155.8 kB / 0.6621 GB, free: 80 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.1315, allocations: 7.984 kB / 0.6621 GB, free: 72 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.1316, allocations: 23.98 kB / 0.6621 GB, free: 48 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1316, allocations: 7.938 kB / 0.6621 GB, free: 40 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1316, allocations: 0 / 0.6621 GB, free: 40 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.1328, allocations: 0.9697 MB / 0.663 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.133, allocations: 168.6 kB / 0.6632 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.1331, allocations: 19.98 kB / 0.6632 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.1333, allocations: 16 kB / 0.6632 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.1333, allocations: 40.59 kB / 0.6633 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.1334, allocations: 23.98 kB / 0.6633 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.1335, allocations: 111.2 kB / 0.6634 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1335, allocations: 3.938 kB / 0.6634 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003093/0.1338, allocations: 127.9 kB / 0.6635 GB, free: 14.53 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.0001592/0.1339, allocations: 135 kB / 0.6637 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007845/0.1347, allocations: 0.5833 MB / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1347, allocations: 0 / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.1351, allocations: 327.5 kB / 0.6645 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.0002934/0.1354, allocations: 67.89 kB / 0.6646 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.1374, allocations: 1.503 MB / 0.6661 GB, free: 11.89 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1377, allocations: 0.8051 MB / 0.6669 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003193/0.138, allocations: 179.1 kB / 0.667 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.1381, allocations: 51.42 kB / 0.6671 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of SimCode: time 2.21e-07/0.1381, allocations: 0 / 0.6671 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of Templates: time 0.00839/0.1465, allocations: 5.344 MB / 0.6723 GB, free: 5.535 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/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