Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00083/0.0008301, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.0008534/0.0008535, allocations: 184.9 kB / 17.21 MB, free: 6.332 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.163/1.163, allocations: 223.3 MB / 241.2 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6288/0.6288, allocations: 120.5 MB / 412.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002438/0.0002438, allocations: 11.98 kB / 0.4956 GB, free: 9.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 82.85 MB / 0.5765 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001045/0.1151, allocations: 1.089 MB / 0.5775 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00063/0.1157, allocations: 483.7 kB / 0.578 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.1157, allocations: 0 / 0.578 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.036e-05/0.1158, allocations: 11.86 kB / 0.578 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.116, allocations: 55.8 kB / 0.5781 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.635e-05/0.1161, allocations: 31.91 kB / 0.5781 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1163, allocations: 207.4 kB / 0.5783 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.1163, allocations: 4.188 kB / 0.5783 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.1164, allocations: 75.81 kB / 0.5784 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1166, allocations: 95.77 kB / 0.5785 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1166, allocations: 8 kB / 0.5785 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.197e-05/0.1167, allocations: 35.95 kB / 0.5785 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.1168, allocations: 67.86 kB / 0.5786 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.1168, allocations: 45.64 kB / 0.5786 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.849e-05/0.1169, allocations: 92.08 kB / 0.5787 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1169, allocations: 0 / 0.5787 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.117, allocations: 0 / 0.5787 GB, free: 4.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.117, allocations: 0 / 0.5787 GB, free: 4.508 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005904/0.1176, allocations: 463 kB / 0.5791 GB, free: 4.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1176, allocations: 8.031 kB / 0.5791 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.1176, allocations: 19.77 kB / 0.5792 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1178, allocations: 206.8 kB / 0.5794 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1178, allocations: 12.23 kB / 0.5794 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1179, allocations: 16 kB / 0.5794 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.1181, allocations: 175.4 kB / 0.5796 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1181, allocations: 0 / 0.5796 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1182, allocations: 4 kB / 0.5796 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1182, allocations: 4 kB / 0.5796 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.1184, allocations: 152.5 kB / 0.5797 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.1187, allocations: 282.2 kB / 0.58 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.1194, allocations: 362.8 kB / 0.5803 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.1196, allocations: 116.8 kB / 0.5804 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.1198, allocations: 89.09 kB / 0.5805 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1198, allocations: 38.56 kB / 0.5806 GB, free: 2.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.213e-06/0.1198, allocations: 0 / 0.5806 GB, free: 2.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.0005401/0.1203, allocations: 378.1 kB / 0.5809 GB, free: 2.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.1204, allocations: 55.41 kB / 0.581 GB, free: 1.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.1205, allocations: 148 kB / 0.5811 GB, free: 1.824 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1205, allocations: 29.7 kB / 0.5811 GB, free: 1.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.1205, allocations: 92.7 kB / 0.5812 GB, free: 1.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.1206, allocations: 114.4 kB / 0.5813 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.1206, allocations: 8 kB / 0.5813 GB, free: 1.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.1207, allocations: 330.8 kB / 0.5817 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.1209, allocations: 120.5 kB / 0.5818 GB, free: 1.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1211, allocations: 125.2 kB / 0.5819 GB, free: 1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.1213, allocations: 145.6 kB / 0.582 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1213, allocations: 0 / 0.582 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004464/0.1217, allocations: 354.1 kB / 0.5824 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.1217, allocations: 4 kB / 0.5824 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1218, allocations: 0 / 0.5824 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-06/0.1218, allocations: 8 kB / 0.5824 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.122, allocations: 75.91 kB / 0.5825 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.122, allocations: 0 / 0.5825 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.684e-05/0.1221, allocations: 19.8 kB / 0.5825 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.1222, allocations: 15.98 kB / 0.5825 GB, free: 396 kB / 446.1 MB 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.1223, allocations: 133.8 kB / 0.5826 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1223, allocations: 15.81 kB / 0.5826 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3514/0.4737, allocations: 397.4 kB / 0.583 GB, free: 16.7 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4738, allocations: 6.438 kB / 0.583 GB, free: 16.7 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4738, allocations: 0.6875 kB / 0.583 GB, free: 16.7 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4738, allocations: 1.875 kB / 0.583 GB, free: 16.7 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.4741, allocations: 308.7 kB / 0.5833 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4741, allocations: 0 / 0.5833 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.4745, allocations: 90.08 kB / 0.5834 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4745, allocations: 5.656 kB / 0.5834 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.4745, allocations: 12.34 kB / 0.5834 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.4745, allocations: 4.609 kB / 0.5834 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4745, allocations: 0 / 0.5834 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.4753, allocations: 0.5225 MB / 0.5839 GB, free: 16.43 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.4753, allocations: 128.6 kB / 0.584 GB, free: 16.32 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.4754, allocations: 16.11 kB / 0.5841 GB, free: 16.32 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.4755, allocations: 7.719 kB / 0.5841 GB, free: 16.32 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.4755, allocations: 22.55 kB / 0.5841 GB, free: 16.32 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4756, allocations: 12.78 kB / 0.5841 GB, free: 16.32 MB / 446.3 MB Notification: Performance of sorting global known variables: time 4.462e-05/0.4756, allocations: 101.8 kB / 0.5842 GB, free: 16.25 MB / 446.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4756, allocations: 0 / 0.5842 GB, free: 16.25 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0002632/0.4759, allocations: 67 kB / 0.5843 GB, free: 16.25 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.476, allocations: 117.3 kB / 0.5844 GB, free: 16.16 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.4764, allocations: 298.4 kB / 0.5847 GB, free: 16.15 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4765, allocations: 0 / 0.5847 GB, free: 16.15 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.4767, allocations: 171.9 kB / 0.5848 GB, free: 16.15 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4769, allocations: 30.84 kB / 0.5849 GB, free: 16.15 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.478, allocations: 1.016 MB / 0.5858 GB, free: 15.59 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4781, allocations: 0.7493 MB / 0.5866 GB, free: 14.88 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.4783, allocations: 92.19 kB / 0.5867 GB, free: 14.88 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.4784, allocations: 27.83 kB / 0.5867 GB, free: 14.87 MB / 446.3 MB Notification: Performance of SimCode: time 2.4e-07/0.4784, allocations: 0 / 0.5867 GB, free: 14.87 MB / 446.3 MB Notification: Performance of Templates: time 0.005194/0.4836, allocations: 2.681 MB / 0.5893 GB, free: 14.69 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches