Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 87.12 kB / 16.65 MB, free: 6.535 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.001387/0.001387, allocations: 180.1 kB / 17.56 MB, free: 6.176 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.312/1.312, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9785/0.9785, allocations: 120.5 MB / 413.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.0002991, allocations: 8 kB / 0.4962 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5428, allocations: 82.83 MB / 0.5771 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001101/0.544, allocations: 1.102 MB / 0.5782 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006751/0.5447, allocations: 0.5126 MB / 0.5787 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.5447, allocations: 0 / 0.5787 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.7e-05/0.5448, allocations: 7.922 kB / 0.5787 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.545, allocations: 50.17 kB / 0.5788 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.519e-05/0.5451, allocations: 34.73 kB / 0.5788 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.5455, allocations: 0.5796 MB / 0.5794 GB, free: 40.17 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.5456, allocations: 5.562 kB / 0.5794 GB, free: 40.17 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.5458, allocations: 199 kB / 0.5796 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.5461, allocations: 304.3 kB / 0.5798 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.5462, allocations: 29.72 kB / 0.5799 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.5463, allocations: 57.03 kB / 0.5799 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.5465, allocations: 230.2 kB / 0.5802 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.5467, allocations: 268.5 kB / 0.5804 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.5471, allocations: 431.6 kB / 0.5808 GB, free: 39.33 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5471, allocations: 4.844 kB / 0.5808 GB, free: 39.33 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5471, allocations: 0 / 0.5808 GB, free: 39.33 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.5471, allocations: 0.9375 kB / 0.5808 GB, free: 39.33 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001606/0.5487, allocations: 0.846 MB / 0.5816 GB, free: 38.71 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.5488, allocations: 9.219 kB / 0.5817 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.5489, allocations: 44.59 kB / 0.5817 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.5492, allocations: 322.8 kB / 0.582 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.5493, allocations: 37.41 kB / 0.582 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5494, allocations: 64.08 kB / 0.5821 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.5501, allocations: 0.5913 MB / 0.5827 GB, free: 38 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5502, allocations: 0 / 0.5827 GB, free: 38 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.5502, allocations: 15.75 kB / 0.5827 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.5502, allocations: 8.844 kB / 0.5827 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.551, allocations: 0.5821 MB / 0.5833 GB, free: 37.76 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.5516, allocations: 0.6224 MB / 0.5839 GB, free: 37.29 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.5546, allocations: 1.364 MB / 0.5852 GB, free: 36.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.5552, allocations: 451.9 kB / 0.5856 GB, free: 36.48 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.5554, allocations: 103.7 kB / 0.5857 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.5554, allocations: 51.72 kB / 0.5858 GB, free: 36.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.134e-06/0.5554, allocations: 0 / 0.5858 GB, free: 36.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.00193/0.5574, allocations: 1.346 MB / 0.5871 GB, free: 35.71 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.5574, allocations: 64.39 kB / 0.5872 GB, free: 35.64 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.5575, allocations: 175.2 kB / 0.5873 GB, free: 35.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.5576, allocations: 37.7 kB / 0.5874 GB, free: 35.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.5576, allocations: 114.1 kB / 0.5875 GB, free: 35.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.5578, allocations: 398.2 kB / 0.5879 GB, free: 34.91 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.5579, allocations: 97.67 kB / 0.588 GB, free: 34.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.558, allocations: 370.7 kB / 0.5883 GB, free: 34.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.5585, allocations: 470.3 kB / 0.5888 GB, free: 33.97 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.5591, allocations: 491.5 kB / 0.5892 GB, free: 33.49 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.5602, allocations: 1.048 MB / 0.5902 GB, free: 32.44 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5602, allocations: 0 / 0.5902 GB, free: 32.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001387/0.5616, allocations: 1.238 MB / 0.5915 GB, free: 31.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5616, allocations: 4 kB / 0.5915 GB, free: 31.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5616, allocations: 4 kB / 0.5915 GB, free: 31.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5617, allocations: 11.98 kB / 0.5915 GB, free: 31.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/0.5626, allocations: 271.6 kB / 0.5917 GB, free: 30.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5626, allocations: 8 kB / 0.5917 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.5629, allocations: 71.12 kB / 0.5918 GB, free: 30.83 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.563, allocations: 43.98 kB / 0.5919 GB, free: 30.79 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 (144): * Single equations (assignments): 144 * 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.0001869/0.5632, allocations: 217.4 kB / 0.5921 GB, free: 30.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.5633, allocations: 43.53 kB / 0.5921 GB, free: 30.52 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.5651, allocations: 1.4 MB / 0.5935 GB, free: 29.11 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5651, allocations: 12 kB / 0.5935 GB, free: 29.1 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5651, allocations: 0 / 0.5935 GB, free: 29.1 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5651, allocations: 7.969 kB / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.5658, allocations: 0.7465 MB / 0.5942 GB, free: 28.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5658, allocations: 0 / 0.5942 GB, free: 28.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.5671, allocations: 299.7 kB / 0.5945 GB, free: 28.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.5671, allocations: 15.98 kB / 0.5945 GB, free: 27.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.5672, allocations: 43.97 kB / 0.5946 GB, free: 27.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5672, allocations: 4 kB / 0.5946 GB, free: 27.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5672, allocations: 0 / 0.5946 GB, free: 27.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.5691, allocations: 1.85 MB / 0.5964 GB, free: 26.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.5694, allocations: 256 kB / 0.5966 GB, free: 25.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.5695, allocations: 35.97 kB / 0.5967 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.5698, allocations: 32 kB / 0.5967 GB, free: 25.73 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.5699, allocations: 81.19 kB / 0.5968 GB, free: 25.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.57, allocations: 39.98 kB / 0.5968 GB, free: 25.62 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.517e-05/0.5701, allocations: 132.3 kB / 0.5969 GB, free: 25.49 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5701, allocations: 4 kB / 0.5969 GB, free: 25.48 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004305/0.5705, allocations: 228 kB / 0.5971 GB, free: 25.26 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0002074/0.5707, allocations: 159.8 kB / 0.5973 GB, free: 25.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.572, allocations: 1.147 MB / 0.5984 GB, free: 23.95 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.572, allocations: 0 / 0.5984 GB, free: 23.95 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.5726, allocations: 0.6358 MB / 0.599 GB, free: 23.31 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.5731, allocations: 107.9 kB / 0.5991 GB, free: 23.21 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.5762, allocations: 3.398 MB / 0.6025 GB, free: 19.78 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.5765, allocations: 0.9309 MB / 0.6034 GB, free: 18.82 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006928/0.5772, allocations: 360.8 kB / 0.6037 GB, free: 18.47 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.5775, allocations: 91.41 kB / 0.6038 GB, free: 18.38 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.5775, allocations: 4 kB / 0.6038 GB, free: 18.38 MB / 462.3 MB Notification: Performance of Templates: time 0.0123/0.5898, allocations: 9.069 MB / 0.6127 GB, free: 9.355 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches