Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.00117/0.00117, allocations: 111.9 kB / 17.11 MB, free: 5.91 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.001062/0.001062, allocations: 193.3 kB / 18.05 MB, free: 4.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4519/0.4519, allocations: 228.4 MB / 247.2 MB, free: 5.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6842/0.6842, allocations: 120.7 MB / 420.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 68.02 kB / 0.5895 GB, free: 17.41 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 84.64 MB / 0.6722 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002023/0.1203, allocations: 1.384 MB / 0.6736 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.1211, allocations: 0.5146 MB / 0.6741 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.1211, allocations: 0 / 0.6741 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.494e-05/0.1212, allocations: 7.922 kB / 0.6741 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1214, allocations: 63.73 kB / 0.6741 GB, free: 10.56 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 9.217e-05/0.1215, allocations: 31.89 kB / 0.6742 GB, free: 10.53 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1218, allocations: 327.3 kB / 0.6745 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.1219, allocations: 8.172 kB / 0.6745 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.122, allocations: 119.8 kB / 0.6746 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.1223, allocations: 163.6 kB / 0.6747 GB, free: 9.922 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.1223, allocations: 16 kB / 0.6748 GB, free: 9.906 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.803e-05/0.1224, allocations: 31.98 kB / 0.6748 GB, free: 9.875 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1226, allocations: 127.7 kB / 0.6749 GB, free: 9.75 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.1227, allocations: 123.4 kB / 0.675 GB, free: 9.629 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1229, allocations: 246.9 kB / 0.6753 GB, free: 9.387 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1229, allocations: 0 / 0.6753 GB, free: 9.387 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1229, allocations: 0 / 0.6753 GB, free: 9.387 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1229, allocations: 0 / 0.6753 GB, free: 9.387 MB / 0.5139 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.0009696/0.1239, allocations: 0.5959 MB / 0.6759 GB, free: 8.746 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.1239, allocations: 8.031 kB / 0.6759 GB, free: 8.738 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.124, allocations: 28.75 kB / 0.6759 GB, free: 8.711 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1243, allocations: 259 kB / 0.6761 GB, free: 8.422 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1243, allocations: 16.44 kB / 0.6761 GB, free: 8.406 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.1244, allocations: 35.94 kB / 0.6762 GB, free: 8.371 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.1248, allocations: 311.1 kB / 0.6765 GB, free: 8.055 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1248, allocations: 7.984 kB / 0.6765 GB, free: 8.047 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1249, allocations: 8 kB / 0.6765 GB, free: 8.039 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1249, allocations: 8 kB / 0.6765 GB, free: 8.031 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.1253, allocations: 285.5 kB / 0.6768 GB, free: 7.754 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.1257, allocations: 399.3 kB / 0.6772 GB, free: 7.312 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1273, allocations: 0.6543 MB / 0.6778 GB, free: 6.652 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.1276, allocations: 218 kB / 0.678 GB, free: 6.438 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.1277, allocations: 97.52 kB / 0.6781 GB, free: 6.324 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1277, allocations: 46.94 kB / 0.6781 GB, free: 6.266 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 1.323e-06/0.1277, allocations: 0 / 0.6781 GB, free: 6.266 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.001034/0.1288, allocations: 0.6879 MB / 0.6788 GB, free: 5.57 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.1288, allocations: 63.83 kB / 0.6789 GB, free: 5.496 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1289, allocations: 142.4 kB / 0.679 GB, free: 5.34 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.129, allocations: 37.64 kB / 0.679 GB, free: 5.297 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.129, allocations: 101.1 kB / 0.6791 GB, free: 5.191 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.1292, allocations: 214.2 kB / 0.6793 GB, free: 4.98 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1293, allocations: 110.3 kB / 0.6795 GB, free: 4.867 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1295, allocations: 342.8 kB / 0.6798 GB, free: 4.523 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.1298, allocations: 237.1 kB / 0.68 GB, free: 4.293 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.1301, allocations: 249.7 kB / 0.6802 GB, free: 4.047 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.1308, allocations: 0.5242 MB / 0.6808 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1308, allocations: 0 / 0.6808 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008619/0.1317, allocations: 0.6454 MB / 0.6814 GB, free: 2.863 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.1317, allocations: 4 kB / 0.6814 GB, free: 2.859 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1317, allocations: 0 / 0.6814 GB, free: 2.859 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1317, allocations: 8 kB / 0.6814 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.1322, allocations: 143.8 kB / 0.6815 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1322, allocations: 4 kB / 0.6815 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1324, allocations: 47.61 kB / 0.6816 GB, free: 2.66 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.1324, allocations: 20 kB / 0.6816 GB, free: 2.641 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 (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.0001484/0.1326, allocations: 158 kB / 0.6818 GB, free: 2.477 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.1326, allocations: 23.86 kB / 0.6818 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1337, allocations: 0.7283 MB / 0.6825 GB, free: 1.719 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.1337, allocations: 19.86 kB / 0.6825 GB, free: 1.699 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1337, allocations: 4 kB / 0.6825 GB, free: 1.695 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1337, allocations: 0 / 0.6825 GB, free: 1.695 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.1342, allocations: 457.8 kB / 0.6829 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1342, allocations: 3.984 kB / 0.6829 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.1349, allocations: 155.8 kB / 0.6831 GB, free: 1.043 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1349, allocations: 4 kB / 0.6831 GB, free: 1.039 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.1349, allocations: 27.97 kB / 0.6831 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.1349, allocations: 3.938 kB / 0.6831 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1349, allocations: 0 / 0.6831 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.1362, allocations: 0.971 MB / 0.6841 GB, free: 12 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.1364, allocations: 180.8 kB / 0.6843 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.1365, allocations: 19.98 kB / 0.6843 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1366, allocations: 8 kB / 0.6843 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.1367, allocations: 44.59 kB / 0.6843 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.1367, allocations: 19.98 kB / 0.6843 GB, free: 15.73 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.589e-05/0.1368, allocations: 113.3 kB / 0.6844 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1368, allocations: 0 / 0.6844 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002937/0.1371, allocations: 124 kB / 0.6846 GB, free: 15.5 MB / 0.5295 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.0001588/0.1373, allocations: 142 kB / 0.6847 GB, free: 15.35 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0007744/0.138, allocations: 0.5482 MB / 0.6852 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.138, allocations: 0 / 0.6852 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.1384, allocations: 315.5 kB / 0.6855 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1387, allocations: 59.91 kB / 0.6856 GB, free: 14.44 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1407, allocations: 1.529 MB / 0.6871 GB, free: 12.88 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.1411, allocations: 0.8012 MB / 0.6879 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0003329/0.1414, allocations: 179.1 kB / 0.688 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1416, allocations: 47.42 kB / 0.6881 GB, free: 11.83 MB / 0.5295 GB Notification: Performance of SimCode: time 2.81e-07/0.1416, allocations: 0 / 0.6881 GB, free: 11.83 MB / 0.5295 GB Notification: Performance of Templates: time 0.01414/0.1557, allocations: 5.539 MB / 0.6935 GB, free: 6.355 MB / 0.5295 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_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_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches