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.001128/0.001128, allocations: 105 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.001099/0.001099, allocations: 197.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.141/1.141, allocations: 222.9 MB / 241.2 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7791/0.7791, allocations: 119.3 MB / 410.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 55.91 kB / 0.4918 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3969, allocations: 80.69 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.001854/0.3988, allocations: 1.449 MB / 0.572 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.3994, allocations: 0.5205 MB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.3994, allocations: 1.281 kB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.914e-05/0.3995, allocations: 3.938 kB / 0.5725 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.3997, allocations: 47.34 kB / 0.5725 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.558e-05/0.3998, allocations: 34.14 kB / 0.5726 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.4, allocations: 321.1 kB / 0.5729 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.4001, allocations: 4.562 kB / 0.5729 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.4002, allocations: 116.2 kB / 0.573 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.4004, allocations: 171.1 kB / 0.5732 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.4004, allocations: 15.53 kB / 0.5732 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-05/0.4005, allocations: 38.59 kB / 0.5732 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4006, allocations: 121.1 kB / 0.5733 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.4008, allocations: 130.4 kB / 0.5734 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.401, allocations: 239.8 kB / 0.5737 GB, free: 41.65 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.401, allocations: 8 kB / 0.5737 GB, free: 41.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.212e-06/0.401, allocations: 1.469 kB / 0.5737 GB, free: 41.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.401, allocations: 0 / 0.5737 GB, free: 41.64 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.0008666/0.4018, allocations: 0.5753 MB / 0.5742 GB, free: 41.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.4019, allocations: 13.23 kB / 0.5743 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.402, allocations: 25.41 kB / 0.5743 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.4022, allocations: 256 kB / 0.5745 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4022, allocations: 22.12 kB / 0.5745 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.4022, allocations: 28.72 kB / 0.5746 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.4027, allocations: 316.3 kB / 0.5749 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4027, allocations: 0 / 0.5749 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.4027, allocations: 6.531 kB / 0.5749 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4027, allocations: 4.344 kB / 0.5749 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.4031, allocations: 287.5 kB / 0.5752 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.4034, allocations: 400.8 kB / 0.5755 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.4049, allocations: 0.6815 MB / 0.5762 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.4052, allocations: 242.4 kB / 0.5764 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.4053, allocations: 89.78 kB / 0.5765 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.4053, allocations: 37.75 kB / 0.5766 GB, free: 39.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.402e-06/0.4054, allocations: 0 / 0.5766 GB, free: 39.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.0009694/0.4063, allocations: 0.6995 MB / 0.5772 GB, free: 39.32 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.4064, allocations: 57.38 kB / 0.5773 GB, free: 39.26 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.4064, allocations: 148.6 kB / 0.5774 GB, free: 39.12 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.4065, allocations: 39.55 kB / 0.5775 GB, free: 39.08 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.4065, allocations: 92.83 kB / 0.5776 GB, free: 38.99 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.4066, allocations: 210.8 kB / 0.5778 GB, free: 38.81 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.4068, allocations: 106.2 kB / 0.5779 GB, free: 38.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.4068, allocations: 340 kB / 0.5782 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.4071, allocations: 241 kB / 0.5784 GB, free: 38.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.4075, allocations: 242.2 kB / 0.5787 GB, free: 38.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.4081, allocations: 0.5279 MB / 0.5792 GB, free: 37.96 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4081, allocations: 4 kB / 0.5792 GB, free: 37.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007692/0.4089, allocations: 0.6555 MB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4089, allocations: 5.031 kB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4089, allocations: 0 / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4089, allocations: 3.812 kB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.4094, allocations: 142.4 kB / 0.58 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4094, allocations: 10.41 kB / 0.58 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.4096, allocations: 39.12 kB / 0.58 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.4096, allocations: 21.86 kB / 0.58 GB, free: 37.56 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.0001159/0.4098, allocations: 157.9 kB / 0.5802 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.4098, allocations: 25.62 kB / 0.5802 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009866/0.4108, allocations: 0.7302 MB / 0.5809 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4108, allocations: 7.562 kB / 0.5809 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4108, allocations: 3.938 kB / 0.5809 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4108, allocations: 5.234 kB / 0.5809 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.4112, allocations: 462.4 kB / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4112, allocations: 0.9062 kB / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.4119, allocations: 161.9 kB / 0.5815 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4119, allocations: 7.188 kB / 0.5815 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.412, allocations: 22.95 kB / 0.5816 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.412, allocations: 2.188 kB / 0.5816 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.412, allocations: 3.938 kB / 0.5816 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.4131, allocations: 0.9599 MB / 0.5825 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.4133, allocations: 181.3 kB / 0.5827 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.4133, allocations: 15.5 kB / 0.5827 GB, free: 35.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.4135, allocations: 19.14 kB / 0.5827 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.4136, allocations: 46.59 kB / 0.5828 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.4136, allocations: 17.91 kB / 0.5828 GB, free: 35.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.4137, allocations: 113.2 kB / 0.5829 GB, free: 35.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4137, allocations: 0 / 0.5829 GB, free: 35.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003144/0.414, allocations: 119 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.0001446/0.4142, allocations: 140 kB / 0.5831 GB, free: 35.68 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.4153, allocations: 0.8385 MB / 0.5839 GB, free: 35.42 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4153, allocations: 0 / 0.5839 GB, free: 35.42 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.4156, allocations: 331.4 kB / 0.5843 GB, free: 35.28 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4159, allocations: 55.92 kB / 0.5843 GB, free: 35.23 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.4175, allocations: 1.62 MB / 0.5859 GB, free: 33.57 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.4177, allocations: 0.8012 MB / 0.5867 GB, free: 32.75 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003013/0.418, allocations: 183.1 kB / 0.5869 GB, free: 32.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.4181, allocations: 51.36 kB / 0.5869 GB, free: 32.52 MB / 462.3 MB Notification: Performance of SimCode: time 3.01e-07/0.4181, allocations: 0 / 0.5869 GB, free: 32.52 MB / 462.3 MB Notification: Performance of Templates: time 0.006433/0.4245, allocations: 5.224 MB / 0.592 GB, free: 27.34 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/jenkins/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