Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001246/0.001246, allocations: 112.5 kB / 16.51 MB, free: 6.715 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.001253/0.001253, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.234/1.234, allocations: 222.9 MB / 241.1 MB, free: 15.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.8601/0.8601, allocations: 119.3 MB / 410.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 0.4916 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4334, allocations: 80.68 MB / 0.5704 GB, free: 43.99 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002094/0.4355, allocations: 1.45 MB / 0.5718 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006855/0.4362, allocations: 0.5113 MB / 0.5723 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.4363, allocations: 1.25 kB / 0.5723 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.543e-05/0.4363, allocations: 7.938 kB / 0.5723 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.4366, allocations: 50.8 kB / 0.5723 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.479e-05/0.4367, allocations: 37.92 kB / 0.5724 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.4371, allocations: 0.5798 MB / 0.5729 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.4372, allocations: 6 kB / 0.5729 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.4374, allocations: 194.8 kB / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.4377, allocations: 305.4 kB / 0.5734 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.4378, allocations: 32.97 kB / 0.5735 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.438, allocations: 49.17 kB / 0.5735 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.4383, allocations: 238 kB / 0.5737 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.4385, allocations: 238.9 kB / 0.574 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.439, allocations: 435.5 kB / 0.5744 GB, free: 41.26 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.439, allocations: 1.031 kB / 0.5744 GB, free: 41.26 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.222e-06/0.439, allocations: 0 / 0.5744 GB, free: 41.26 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4391, allocations: 0 / 0.5744 GB, free: 41.26 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.001888/0.441, allocations: 0.8182 MB / 0.5752 GB, free: 40.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/0.441, allocations: 9.812 kB / 0.5752 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.4412, allocations: 46.34 kB / 0.5752 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.4417, allocations: 321 kB / 0.5755 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.4417, allocations: 32.16 kB / 0.5756 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.4418, allocations: 61.05 kB / 0.5756 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.4428, allocations: 0.5863 MB / 0.5762 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4428, allocations: 0 / 0.5762 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.4429, allocations: 20.12 kB / 0.5762 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4429, allocations: 9.625 kB / 0.5762 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.4437, allocations: 0.5893 MB / 0.5768 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.4445, allocations: 0.6225 MB / 0.5774 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.4476, allocations: 1.364 MB / 0.5787 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.4482, allocations: 456.5 kB / 0.5792 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.4484, allocations: 103.9 kB / 0.5793 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.4484, allocations: 43.38 kB / 0.5793 GB, free: 38.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 1.964e-06/0.4484, allocations: 0 / 0.5793 GB, free: 38.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001949/0.4504, allocations: 1.347 MB / 0.5806 GB, free: 37.65 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.4504, allocations: 66.19 kB / 0.5807 GB, free: 37.59 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4505, allocations: 181.2 kB / 0.5809 GB, free: 37.45 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.4506, allocations: 41.11 kB / 0.5809 GB, free: 37.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.4506, allocations: 107.3 kB / 0.581 GB, free: 37.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.4508, allocations: 403.3 kB / 0.5814 GB, free: 36.95 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.4511, allocations: 195.5 kB / 0.5816 GB, free: 36.84 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.4511, allocations: 374.8 kB / 0.5819 GB, free: 36.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/0.4518, allocations: 467.9 kB / 0.5824 GB, free: 36.28 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/0.4524, allocations: 493.6 kB / 0.5829 GB, free: 36.06 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.4537, allocations: 1.042 MB / 0.5839 GB, free: 35.57 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4538, allocations: 0 / 0.5839 GB, free: 35.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001422/0.4552, allocations: 1.25 MB / 0.5851 GB, free: 34.42 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4552, allocations: 4.781 kB / 0.5851 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4552, allocations: 0 / 0.5851 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4552, allocations: 11.94 kB / 0.5851 GB, free: 34.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.4562, allocations: 263.7 kB / 0.5854 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4562, allocations: 8 kB / 0.5854 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.4565, allocations: 75.06 kB / 0.5854 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.4566, allocations: 47.98 kB / 0.5855 GB, free: 34.02 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.0001783/0.4568, allocations: 209.5 kB / 0.5857 GB, free: 33.8 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.4569, allocations: 43.53 kB / 0.5857 GB, free: 33.76 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.4586, allocations: 1.392 MB / 0.5871 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.4587, allocations: 16 kB / 0.5871 GB, free: 32.35 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4587, allocations: 0 / 0.5871 GB, free: 32.35 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4587, allocations: 7.969 kB / 0.5871 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.4593, allocations: 0.7465 MB / 0.5878 GB, free: 31.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4593, allocations: 0 / 0.5878 GB, free: 31.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.4606, allocations: 307.6 kB / 0.5881 GB, free: 31.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4606, allocations: 4 kB / 0.5881 GB, free: 31.24 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.4607, allocations: 43.97 kB / 0.5882 GB, free: 31.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4607, allocations: 8 kB / 0.5882 GB, free: 31.19 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4607, allocations: 0 / 0.5882 GB, free: 31.19 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.4627, allocations: 1.858 MB / 0.59 GB, free: 29.31 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.4629, allocations: 248 kB / 0.5902 GB, free: 29.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.4631, allocations: 39.97 kB / 0.5903 GB, free: 29.01 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.4634, allocations: 28 kB / 0.5903 GB, free: 28.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.4635, allocations: 85.19 kB / 0.5904 GB, free: 28.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.4636, allocations: 39.98 kB / 0.5904 GB, free: 28.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.129e-05/0.4636, allocations: 132.2 kB / 0.5905 GB, free: 28.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4636, allocations: 4 kB / 0.5905 GB, free: 28.72 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004151/0.4641, allocations: 232 kB / 0.5908 GB, free: 28.5 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.0001991/0.4643, allocations: 159.8 kB / 0.5909 GB, free: 28.33 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.4655, allocations: 1.155 MB / 0.5921 GB, free: 27.18 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4655, allocations: 0 / 0.5921 GB, free: 27.18 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000641/0.4662, allocations: 0.6358 MB / 0.5927 GB, free: 26.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4667, allocations: 99.95 kB / 0.5928 GB, free: 26.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.4696, allocations: 3.048 MB / 0.5957 GB, free: 23.37 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.4699, allocations: 0.931 MB / 0.5967 GB, free: 22.41 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006676/0.4706, allocations: 368.8 kB / 0.597 GB, free: 22.05 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.4708, allocations: 91.41 kB / 0.5971 GB, free: 21.96 MB / 462.3 MB Notification: Performance of SimCode: time 2.5e-07/0.4708, allocations: 0 / 0.5971 GB, free: 21.96 MB / 462.3 MB Notification: Performance of Templates: time 0.01101/0.4819, allocations: 9.209 MB / 0.6061 GB, free: 12.8 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches