Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009644/0.0009644, allocations: 94.89 kB / 17.31 MB, free: 6 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.0011/0.0011, allocations: 181.5 kB / 18.22 MB, free: 5.406 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.302/1.302, allocations: 223.3 MB / 242.3 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.897/0.897, allocations: 120.5 MB / 413.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004338, allocations: 8 kB / 0.4969 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5298, allocations: 82.84 MB / 0.5778 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001053/0.5309, allocations: 1.109 MB / 0.5789 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006556/0.5316, allocations: 0.5057 MB / 0.5793 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.5316, allocations: 0 / 0.5793 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.112e-05/0.5317, allocations: 13.3 kB / 0.5794 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.5319, allocations: 41.56 kB / 0.5794 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.353e-05/0.532, allocations: 37.52 kB / 0.5794 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.5323, allocations: 360.4 kB / 0.5798 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.5323, allocations: 12.3 kB / 0.5798 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.5324, allocations: 107.7 kB / 0.5799 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.5327, allocations: 176.6 kB / 0.5801 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.5327, allocations: 15.69 kB / 0.5801 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.5328, allocations: 38.61 kB / 0.5801 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.533, allocations: 124.2 kB / 0.5802 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.5331, allocations: 152.4 kB / 0.5804 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.5333, allocations: 159 kB / 0.5805 GB, free: 40.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5333, allocations: 0 / 0.5805 GB, free: 40.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5333, allocations: 0.9375 kB / 0.5805 GB, free: 40.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.5333, allocations: 0 / 0.5805 GB, free: 40.4 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.0009013/0.5342, allocations: 0.565 MB / 0.5811 GB, free: 39.92 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5342, allocations: 9.25 kB / 0.5811 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.5343, allocations: 25.53 kB / 0.5811 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.5345, allocations: 257.5 kB / 0.5814 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.5345, allocations: 13.66 kB / 0.5814 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.5346, allocations: 32.59 kB / 0.5814 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.5351, allocations: 317.5 kB / 0.5817 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5351, allocations: 0 / 0.5817 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.5351, allocations: 11.81 kB / 0.5817 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5351, allocations: 2.156 kB / 0.5817 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.5355, allocations: 292.3 kB / 0.582 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.5359, allocations: 401 kB / 0.5824 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.5375, allocations: 0.6781 MB / 0.583 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.5378, allocations: 234.1 kB / 0.5833 GB, free: 38.58 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.538, allocations: 101.8 kB / 0.5834 GB, free: 38.47 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.538, allocations: 37.75 kB / 0.5834 GB, free: 38.43 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.603e-06/0.538, allocations: 0 / 0.5834 GB, free: 38.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001072/0.5391, allocations: 0.6958 MB / 0.5841 GB, free: 38.1 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.5391, allocations: 60.84 kB / 0.5841 GB, free: 38.03 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.5392, allocations: 149.5 kB / 0.5843 GB, free: 37.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.5393, allocations: 32.3 kB / 0.5843 GB, free: 37.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.5393, allocations: 101 kB / 0.5844 GB, free: 37.77 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.5394, allocations: 206.2 kB / 0.5846 GB, free: 37.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.5395, allocations: 51.75 kB / 0.5847 GB, free: 37.55 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.5395, allocations: 339.9 kB / 0.585 GB, free: 37.21 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.5399, allocations: 245.1 kB / 0.5852 GB, free: 37.1 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.5402, allocations: 242.5 kB / 0.5854 GB, free: 37 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.5409, allocations: 0.5273 MB / 0.586 GB, free: 36.76 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5409, allocations: 4.844 kB / 0.586 GB, free: 36.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008715/0.5418, allocations: 0.6478 MB / 0.5866 GB, free: 36.45 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5418, allocations: 9.062 kB / 0.5866 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5418, allocations: 0 / 0.5866 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5419, allocations: 6.516 kB / 0.5866 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.5424, allocations: 138.9 kB / 0.5867 GB, free: 36.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5424, allocations: 10.45 kB / 0.5868 GB, free: 36.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.5426, allocations: 39.12 kB / 0.5868 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.5427, allocations: 17.88 kB / 0.5868 GB, free: 36.37 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.0001293/0.5428, allocations: 163.1 kB / 0.587 GB, free: 36.22 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.5428, allocations: 24.34 kB / 0.587 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.5439, allocations: 0.7289 MB / 0.5877 GB, free: 35.67 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5439, allocations: 8 kB / 0.5877 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5439, allocations: 3.938 kB / 0.5877 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.544, allocations: 3.984 kB / 0.5877 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.5443, allocations: 465.6 kB / 0.5882 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5444, allocations: 0 / 0.5882 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.545, allocations: 155.9 kB / 0.5883 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.545, allocations: 8 kB / 0.5883 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.5451, allocations: 23.98 kB / 0.5883 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5451, allocations: 7.938 kB / 0.5883 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5451, allocations: 3.938 kB / 0.5883 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.5461, allocations: 0.9553 MB / 0.5893 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.5463, allocations: 172.6 kB / 0.5894 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.5463, allocations: 19.98 kB / 0.5895 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.5465, allocations: 19.94 kB / 0.5895 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.5466, allocations: 48.59 kB / 0.5895 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.5466, allocations: 19.98 kB / 0.5895 GB, free: 33.69 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.799e-05/0.5467, allocations: 113.3 kB / 0.5897 GB, free: 33.58 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5467, allocations: 0 / 0.5897 GB, free: 33.58 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000317/0.547, allocations: 120 kB / 0.5898 GB, free: 33.46 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.0001603/0.5472, allocations: 136 kB / 0.5899 GB, free: 33.32 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.5479, allocations: 0.5794 MB / 0.5905 GB, free: 32.74 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5479, allocations: 0 / 0.5905 GB, free: 32.74 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.5482, allocations: 331.5 kB / 0.5908 GB, free: 32.42 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5485, allocations: 63.89 kB / 0.5908 GB, free: 32.36 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.5503, allocations: 1.841 MB / 0.5926 GB, free: 30.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.5505, allocations: 0.8053 MB / 0.5934 GB, free: 29.65 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.5507, allocations: 51.42 kB / 0.5935 GB, free: 29.6 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.5507, allocations: 0 / 0.5935 GB, free: 29.6 MB / 462.3 MB Notification: Performance of Templates: time 0.005636/0.5563, allocations: 5.071 MB / 0.5984 GB, free: 24.54 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches