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.001121/0.001121, allocations: 106 kB / 16.92 MB, free: 5.777 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.001131/0.001131, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.171/1.171, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.761/0.761, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 0.4923 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3874, allocations: 80.68 MB / 0.5711 GB, free: 44.01 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001871/0.3893, allocations: 1.376 MB / 0.5724 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005896/0.3899, allocations: 0.5092 MB / 0.5729 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.39, allocations: 0 / 0.5729 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.023e-05/0.39, allocations: 12.92 kB / 0.573 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.3903, allocations: 50.89 kB / 0.573 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.501e-05/0.3904, allocations: 49.31 kB / 0.5731 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3906, allocations: 308.9 kB / 0.5733 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.3906, allocations: 9.172 kB / 0.5734 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3907, allocations: 124.6 kB / 0.5735 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.3909, allocations: 163.5 kB / 0.5736 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.391, allocations: 15.78 kB / 0.5736 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.3911, allocations: 34.14 kB / 0.5737 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3912, allocations: 125 kB / 0.5738 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3913, allocations: 130.6 kB / 0.5739 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.3915, allocations: 236.8 kB / 0.5741 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3915, allocations: 0 / 0.5741 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.021e-06/0.3915, allocations: 0 / 0.5741 GB, free: 41.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3915, allocations: 0 / 0.5741 GB, free: 41.82 MB / 462.3 MB 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.000862/0.3924, allocations: 0.5844 MB / 0.5747 GB, free: 41.32 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.3924, allocations: 13.11 kB / 0.5747 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.3925, allocations: 25.72 kB / 0.5748 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3927, allocations: 259.3 kB / 0.575 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3927, allocations: 21.78 kB / 0.575 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.3928, allocations: 28.94 kB / 0.5751 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.3932, allocations: 316.1 kB / 0.5754 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3932, allocations: 0 / 0.5754 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3932, allocations: 6.438 kB / 0.5754 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3932, allocations: 8.781 kB / 0.5754 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.3936, allocations: 287 kB / 0.5756 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.3939, allocations: 405 kB / 0.576 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3954, allocations: 0.6778 MB / 0.5767 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.3957, allocations: 234 kB / 0.5769 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.3958, allocations: 95.14 kB / 0.577 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.3958, allocations: 37.75 kB / 0.577 GB, free: 39.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.483e-06/0.3958, allocations: 4 kB / 0.577 GB, free: 39.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.0009537/0.3968, allocations: 0.7026 MB / 0.5777 GB, free: 39.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.3968, allocations: 57.38 kB / 0.5778 GB, free: 39.41 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.3969, allocations: 149.8 kB / 0.5779 GB, free: 39.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3969, allocations: 35.52 kB / 0.578 GB, free: 39.24 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.397, allocations: 92.83 kB / 0.5781 GB, free: 39.15 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3971, allocations: 209.9 kB / 0.5783 GB, free: 38.97 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3972, allocations: 106.3 kB / 0.5784 GB, free: 38.9 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.3973, allocations: 344 kB / 0.5787 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.3976, allocations: 243.2 kB / 0.5789 GB, free: 38.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.3979, allocations: 240.4 kB / 0.5791 GB, free: 38.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.3985, allocations: 0.5277 MB / 0.5797 GB, free: 38.11 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3985, allocations: 0 / 0.5797 GB, free: 38.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007751/0.3993, allocations: 0.6516 MB / 0.5803 GB, free: 37.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3993, allocations: 9 kB / 0.5803 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3993, allocations: 0 / 0.5803 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3994, allocations: 3.781 kB / 0.5803 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.3999, allocations: 142.4 kB / 0.5804 GB, free: 37.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3999, allocations: 10.47 kB / 0.5805 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.4001, allocations: 39.12 kB / 0.5805 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.4001, allocations: 17.88 kB / 0.5805 GB, free: 37.72 MB / 462.3 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 (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.0001074/0.4002, allocations: 162.4 kB / 0.5807 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.4003, allocations: 24.34 kB / 0.5807 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009827/0.4012, allocations: 0.727 MB / 0.5814 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4013, allocations: 11.38 kB / 0.5814 GB, free: 37.17 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4013, allocations: 4.875 kB / 0.5814 GB, free: 37.17 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4013, allocations: 3.984 kB / 0.5814 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.4017, allocations: 459.7 kB / 0.5819 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4017, allocations: 3.938 kB / 0.5819 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.4023, allocations: 159 kB / 0.582 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4023, allocations: 2.094 kB / 0.582 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.4024, allocations: 26.86 kB / 0.582 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4024, allocations: 2.156 kB / 0.582 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4024, allocations: 5.469 kB / 0.582 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.4035, allocations: 0.9585 MB / 0.583 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4037, allocations: 178.1 kB / 0.5831 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.4037, allocations: 23.7 kB / 0.5832 GB, free: 36.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.4039, allocations: 10.16 kB / 0.5832 GB, free: 36.1 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.404, allocations: 47.19 kB / 0.5832 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.404, allocations: 22.05 kB / 0.5832 GB, free: 36.07 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.675e-05/0.4041, allocations: 112.9 kB / 0.5834 GB, free: 35.98 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4041, allocations: 4 kB / 0.5834 GB, free: 35.98 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000313/0.4044, allocations: 123.3 kB / 0.5835 GB, free: 35.96 MB / 462.3 MB 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.0001262/0.4045, allocations: 136.2 kB / 0.5836 GB, free: 35.84 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.4056, allocations: 0.8346 MB / 0.5844 GB, free: 35.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4056, allocations: 0 / 0.5844 GB, free: 35.59 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.4059, allocations: 327.2 kB / 0.5847 GB, free: 35.31 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.4062, allocations: 63.91 kB / 0.5848 GB, free: 35.25 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.4077, allocations: 1.507 MB / 0.5863 GB, free: 33.71 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4079, allocations: 0.8089 MB / 0.5871 GB, free: 32.87 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.4082, allocations: 175.1 kB / 0.5872 GB, free: 32.7 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4083, allocations: 47.42 kB / 0.5873 GB, free: 32.66 MB / 462.3 MB Notification: Performance of SimCode: time 2.5e-07/0.4083, allocations: 0 / 0.5873 GB, free: 32.66 MB / 462.3 MB Notification: Performance of Templates: time 0.006814/0.4151, allocations: 5.229 MB / 0.5924 GB, free: 27.47 MB / 462.3 MB 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