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.001109/0.001109, allocations: 105.2 kB / 16.62 MB, free: 6.809 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.001103/0.001103, allocations: 193.9 kB / 17.55 MB, free: 5.949 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.186/1.186, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7815/0.7815, allocations: 119.3 MB / 410.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.89 kB / 0.4918 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3861, allocations: 80.68 MB / 0.5706 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001849/0.388, allocations: 1.452 MB / 0.572 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.3886, allocations: 0.5134 MB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.3887, allocations: 0 / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.578e-05/0.3887, allocations: 1.188 kB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.3889, allocations: 50.06 kB / 0.5725 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.263e-05/0.389, allocations: 38.84 kB / 0.5726 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.3893, allocations: 320.8 kB / 0.5729 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.3893, allocations: 4.625 kB / 0.5729 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3894, allocations: 116.5 kB / 0.573 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.3896, allocations: 163.2 kB / 0.5732 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.3897, allocations: 15.03 kB / 0.5732 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.3898, allocations: 38.84 kB / 0.5732 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3899, allocations: 125.7 kB / 0.5733 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.39, allocations: 130.5 kB / 0.5735 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.3902, allocations: 235.7 kB / 0.5737 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3902, allocations: 0 / 0.5737 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3902, allocations: 0 / 0.5737 GB, free: 41.66 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3902, allocations: 0 / 0.5737 GB, free: 41.66 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.0008502/0.3911, allocations: 0.5882 MB / 0.5743 GB, free: 41.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.3911, allocations: 13.02 kB / 0.5743 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.3912, allocations: 25.16 kB / 0.5743 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.3914, allocations: 256.5 kB / 0.5745 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3914, allocations: 12.91 kB / 0.5745 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.3914, allocations: 29.38 kB / 0.5746 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.3919, allocations: 316.5 kB / 0.5749 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3919, allocations: 4 kB / 0.5749 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.3919, allocations: 10.19 kB / 0.5749 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3919, allocations: 9 kB / 0.5749 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.3923, allocations: 287.4 kB / 0.5752 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3927, allocations: 397 kB / 0.5755 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.3941, allocations: 0.6884 MB / 0.5762 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.3944, allocations: 234.3 kB / 0.5764 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.3946, allocations: 94.5 kB / 0.5765 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3946, allocations: 41.78 kB / 0.5766 GB, free: 39.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.383e-06/0.3946, allocations: 0 / 0.5766 GB, free: 39.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.000953/0.3955, allocations: 0.6906 MB / 0.5772 GB, free: 39.33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.3956, allocations: 65.41 kB / 0.5773 GB, free: 39.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.3957, allocations: 150.1 kB / 0.5775 GB, free: 39.12 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3957, allocations: 31.52 kB / 0.5775 GB, free: 39.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.3957, allocations: 96.83 kB / 0.5776 GB, free: 38.99 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3958, allocations: 205.9 kB / 0.5778 GB, free: 38.81 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.396, allocations: 114.3 kB / 0.5779 GB, free: 38.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.396, allocations: 340 kB / 0.5782 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.3964, allocations: 237.1 kB / 0.5784 GB, free: 38.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.3967, allocations: 247.1 kB / 0.5787 GB, free: 38.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.3973, allocations: 0.5272 MB / 0.5792 GB, free: 37.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3973, allocations: 0 / 0.5792 GB, free: 37.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007928/0.3981, allocations: 0.6477 MB / 0.5798 GB, free: 37.65 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3982, allocations: 5.031 kB / 0.5798 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3982, allocations: 3.938 kB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3982, allocations: 7.781 kB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.3987, allocations: 135 kB / 0.58 GB, free: 37.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3987, allocations: 6.469 kB / 0.58 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.3989, allocations: 43.09 kB / 0.58 GB, free: 37.58 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3989, allocations: 21.89 kB / 0.58 GB, free: 37.57 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.0001136/0.399, allocations: 157.9 kB / 0.5802 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.3991, allocations: 24.34 kB / 0.5802 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009897/0.4001, allocations: 0.7311 MB / 0.5809 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4001, allocations: 11.56 kB / 0.5809 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4001, allocations: 3.938 kB / 0.5809 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4001, allocations: 5.266 kB / 0.5809 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.4005, allocations: 458.7 kB / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4005, allocations: 0 / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/0.4012, allocations: 162.7 kB / 0.5815 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4012, allocations: 7.219 kB / 0.5815 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.4013, allocations: 22.45 kB / 0.5816 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4013, allocations: 6.125 kB / 0.5816 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4013, allocations: 9.031 kB / 0.5816 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.4024, allocations: 0.9581 MB / 0.5825 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4026, allocations: 174.9 kB / 0.5827 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.4026, allocations: 23.52 kB / 0.5827 GB, free: 35.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.4028, allocations: 10.16 kB / 0.5827 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.4029, allocations: 43.09 kB / 0.5827 GB, free: 35.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.4029, allocations: 18.56 kB / 0.5828 GB, free: 35.92 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.477e-05/0.403, allocations: 115.8 kB / 0.5829 GB, free: 35.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.403, allocations: 5.219 kB / 0.5829 GB, free: 35.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003087/0.4033, allocations: 122.2 kB / 0.583 GB, free: 35.8 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.000132/0.4034, allocations: 131.5 kB / 0.5831 GB, free: 35.69 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.4046, allocations: 0.8381 MB / 0.5839 GB, free: 35.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4046, allocations: 0.9062 kB / 0.5839 GB, free: 35.43 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.4049, allocations: 336.4 kB / 0.5843 GB, free: 35.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.4052, allocations: 56.33 kB / 0.5843 GB, free: 35.25 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4068, allocations: 1.62 MB / 0.5859 GB, free: 33.59 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.4069, allocations: 0.809 MB / 0.5867 GB, free: 32.76 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.4073, allocations: 175.1 kB / 0.5869 GB, free: 32.59 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.4074, allocations: 51.42 kB / 0.5869 GB, free: 32.54 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.4074, allocations: 0 / 0.5869 GB, free: 32.54 MB / 462.3 MB Notification: Performance of Templates: time 0.00656/0.414, allocations: 5.227 MB / 0.592 GB, free: 27.36 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