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.001224/0.001224, allocations: 107.3 kB / 17.06 MB, free: 5.824 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.001158/0.001158, allocations: 195.9 kB / 18 MB, free: 4.965 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.26/1.26, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8242/0.8242, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 66.7 kB / 0.5724 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1264, allocations: 80.7 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002318/0.1288, allocations: 1.382 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.1297, allocations: 0.5146 MB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.1297, allocations: 0 / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.847e-05/0.1298, allocations: 11.92 kB / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.1302, allocations: 59.73 kB / 0.6531 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.1303, allocations: 35.89 kB / 0.6531 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.1306, allocations: 319.4 kB / 0.6534 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.894e-05/0.1307, allocations: 12.11 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1308, allocations: 115.8 kB / 0.6535 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1311, allocations: 163.5 kB / 0.6537 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1312, allocations: 16 kB / 0.6537 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.1313, allocations: 43.97 kB / 0.6538 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1314, allocations: 119.7 kB / 0.6539 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1316, allocations: 127.4 kB / 0.654 GB, free: 8.652 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1318, allocations: 239.1 kB / 0.6542 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1318, allocations: 0 / 0.6542 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1318, allocations: 0 / 0.6542 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1318, allocations: 0 / 0.6542 GB, free: 8.418 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.000971/0.1328, allocations: 0.5811 MB / 0.6548 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1328, allocations: 11.89 kB / 0.6548 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.1329, allocations: 28.66 kB / 0.6548 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1332, allocations: 251.6 kB / 0.6551 GB, free: 7.465 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1332, allocations: 20.44 kB / 0.6551 GB, free: 7.445 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.1333, allocations: 31.84 kB / 0.6551 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.1337, allocations: 319.1 kB / 0.6554 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1337, allocations: 0 / 0.6554 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.1338, allocations: 12 kB / 0.6554 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1338, allocations: 4 kB / 0.6554 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.1342, allocations: 285.5 kB / 0.6557 GB, free: 6.801 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1347, allocations: 403.2 kB / 0.6561 GB, free: 6.355 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.1363, allocations: 0.6839 MB / 0.6568 GB, free: 5.668 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1366, allocations: 230 kB / 0.657 GB, free: 5.441 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.1368, allocations: 93.53 kB / 0.6571 GB, free: 5.332 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1368, allocations: 39 kB / 0.6571 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.533e-06/0.1368, allocations: 0 / 0.6571 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001048/0.1379, allocations: 0.6956 MB / 0.6578 GB, free: 4.578 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1379, allocations: 55.84 kB / 0.6578 GB, free: 4.512 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.138, allocations: 153.4 kB / 0.658 GB, free: 4.348 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1381, allocations: 33.7 kB / 0.658 GB, free: 4.309 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.1381, allocations: 97.14 kB / 0.6581 GB, free: 4.207 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1383, allocations: 213 kB / 0.6583 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1384, allocations: 114.3 kB / 0.6584 GB, free: 3.879 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1386, allocations: 342.8 kB / 0.6587 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.1389, allocations: 237.1 kB / 0.659 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.1392, allocations: 245.7 kB / 0.6592 GB, free: 3.062 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.1399, allocations: 0.5282 MB / 0.6597 GB, free: 2.531 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.14, allocations: 0 / 0.6597 GB, free: 2.531 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008706/0.1408, allocations: 0.6452 MB / 0.6604 GB, free: 1.879 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1409, allocations: 7.938 kB / 0.6604 GB, free: 1.871 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1409, allocations: 4 kB / 0.6604 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1409, allocations: 7.984 kB / 0.6604 GB, free: 1.859 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.1414, allocations: 143.8 kB / 0.6605 GB, free: 1.719 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1414, allocations: 3.984 kB / 0.6605 GB, free: 1.715 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.1416, allocations: 39.53 kB / 0.6606 GB, free: 1.676 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.1416, allocations: 24 kB / 0.6606 GB, free: 1.652 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.0001437/0.1418, allocations: 166.5 kB / 0.6607 GB, free: 1.48 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.1418, allocations: 23.72 kB / 0.6608 GB, free: 1.457 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.1429, allocations: 0.7243 MB / 0.6615 GB, free: 0.7305 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.143, allocations: 15.94 kB / 0.6615 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.143, allocations: 0 / 0.6615 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.143, allocations: 3.984 kB / 0.6615 GB, free: 0.7109 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1434, allocations: 453.6 kB / 0.6619 GB, free: 224 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1434, allocations: 0 / 0.6619 GB, free: 224 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.1441, allocations: 163.8 kB / 0.6621 GB, free: 60 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1442, allocations: 4 kB / 0.6621 GB, free: 56 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.1442, allocations: 19.98 kB / 0.6621 GB, free: 36 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1442, allocations: 7.938 kB / 0.6621 GB, free: 28 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1442, allocations: 4 kB / 0.6621 GB, free: 24 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.1455, allocations: 0.9631 MB / 0.663 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1457, allocations: 168.6 kB / 0.6632 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.1457, allocations: 23.98 kB / 0.6632 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1459, allocations: 12 kB / 0.6632 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.146, allocations: 40.59 kB / 0.6633 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.146, allocations: 23.98 kB / 0.6633 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.1461, allocations: 111.2 kB / 0.6634 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.343e-06/0.1461, allocations: 0 / 0.6634 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003186/0.1464, allocations: 131.9 kB / 0.6635 GB, free: 14.52 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.0001653/0.1466, allocations: 131 kB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007982/0.1474, allocations: 0.5833 MB / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1474, allocations: 0 / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.1478, allocations: 331.5 kB / 0.6645 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1481, allocations: 59.91 kB / 0.6646 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.15, allocations: 1.503 MB / 0.6661 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1504, allocations: 0.8089 MB / 0.6669 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003237/0.1507, allocations: 179.1 kB / 0.667 GB, free: 10.87 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.1509, allocations: 51.42 kB / 0.6671 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of SimCode: time 3.01e-07/0.1509, allocations: 0 / 0.6671 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of Templates: time 0.008568/0.1594, allocations: 5.344 MB / 0.6723 GB, free: 5.523 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