Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009434/0.0009434, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.233/1.233, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7928/0.7928, allocations: 120.5 MB / 413.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 0.4963 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4518, allocations: 82.84 MB / 0.5772 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001096/0.4529, allocations: 1.186 MB / 0.5784 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.4531, allocations: 91.23 kB / 0.5785 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.4532, allocations: 1.844 kB / 0.5785 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.553e-05/0.4533, allocations: 11.92 kB / 0.5785 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.4534, allocations: 59.19 kB / 0.5786 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.4535, allocations: 25.64 kB / 0.5786 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007491/0.4543, allocations: 1.216 MB / 0.5798 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.4543, allocations: 6.844 kB / 0.5798 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.4546, allocations: 387.6 kB / 0.5801 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.4553, allocations: 0.5693 MB / 0.5807 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.4554, allocations: 65.81 kB / 0.5808 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.4556, allocations: 60.91 kB / 0.5808 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.4558, allocations: 378.9 kB / 0.5812 GB, free: 39.28 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.4562, allocations: 416.5 kB / 0.5816 GB, free: 39.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.4566, allocations: 0.6451 MB / 0.5822 GB, free: 38.65 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.4566, allocations: 5.188 kB / 0.5822 GB, free: 38.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4566, allocations: 0 / 0.5822 GB, free: 38.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4567, allocations: 3.938 kB / 0.5822 GB, free: 38.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004089/0.4608, allocations: 1.493 MB / 0.5837 GB, free: 37.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4608, allocations: 9.25 kB / 0.5837 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.4609, allocations: 104.8 kB / 0.5838 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.4611, allocations: 65.28 kB / 0.5838 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.4615, allocations: 351.2 kB / 0.5842 GB, free: 37.33 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.4616, allocations: 58.84 kB / 0.5842 GB, free: 37.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.4618, allocations: 102.8 kB / 0.5843 GB, free: 37.26 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.4631, allocations: 0.8768 MB / 0.5852 GB, free: 36.76 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4631, allocations: 8.969 kB / 0.5852 GB, free: 36.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.4632, allocations: 19.97 kB / 0.5852 GB, free: 36.73 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.4632, allocations: 13.59 kB / 0.5852 GB, free: 36.73 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4644, allocations: 0.7724 MB / 0.586 GB, free: 36.4 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004857/0.4692, allocations: 4.363 MB / 0.5902 GB, free: 32.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.4704, allocations: 0.9799 MB / 0.5912 GB, free: 31.15 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.4712, allocations: 0.6759 MB / 0.5919 GB, free: 30.47 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.401e-05/0.4713, allocations: 9 kB / 0.5919 GB, free: 30.46 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.4713, allocations: 47.5 kB / 0.5919 GB, free: 30.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.775e-06/0.4713, allocations: 3.984 kB / 0.5919 GB, free: 30.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002288/0.4736, allocations: 1.66 MB / 0.5935 GB, free: 28.74 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.4736, allocations: 60.41 kB / 0.5936 GB, free: 28.67 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.4737, allocations: 148.3 kB / 0.5937 GB, free: 28.52 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.172e-05/0.4738, allocations: 53.7 kB / 0.5938 GB, free: 28.46 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.4739, allocations: 157.8 kB / 0.5939 GB, free: 28.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.4741, allocations: 410.1 kB / 0.5943 GB, free: 27.89 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.4742, allocations: 129.6 kB / 0.5945 GB, free: 27.76 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.4743, allocations: 362.8 kB / 0.5948 GB, free: 27.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007628/0.4751, allocations: 0.5725 MB / 0.5954 GB, free: 26.82 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.4759, allocations: 0.6638 MB / 0.596 GB, free: 26.15 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.4774, allocations: 1.273 MB / 0.5973 GB, free: 24.88 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4774, allocations: 0 / 0.5973 GB, free: 24.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001984/0.4794, allocations: 1.476 MB / 0.5987 GB, free: 23.39 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4794, allocations: 7.938 kB / 0.5987 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4795, allocations: 0 / 0.5987 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4795, allocations: 4 kB / 0.5987 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.4814, allocations: 0.5347 MB / 0.5992 GB, free: 22.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4814, allocations: 4 kB / 0.5992 GB, free: 22.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.4822, allocations: 127 kB / 0.5994 GB, free: 22.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.4823, allocations: 36 kB / 0.5994 GB, free: 22.68 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (157): * Single equations (assignments): 157 * 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.0002425/0.4826, allocations: 213.5 kB / 0.5996 GB, free: 22.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.4827, allocations: 47.47 kB / 0.5996 GB, free: 22.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.4831, allocations: 148 kB / 0.5998 GB, free: 22.27 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4831, allocations: 19.94 kB / 0.5998 GB, free: 22.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4831, allocations: 0 / 0.5998 GB, free: 22.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4832, allocations: 3.984 kB / 0.5998 GB, free: 22.24 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.4839, allocations: 0.7979 MB / 0.6006 GB, free: 21.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4839, allocations: 0 / 0.6006 GB, free: 21.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/0.4864, allocations: 0.5267 MB / 0.6011 GB, free: 20.87 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4864, allocations: 7.984 kB / 0.6011 GB, free: 20.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.28e-05/0.4865, allocations: 43.97 kB / 0.6011 GB, free: 20.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4865, allocations: 4 kB / 0.6011 GB, free: 20.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4865, allocations: 0 / 0.6011 GB, free: 20.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.4888, allocations: 1.964 MB / 0.6031 GB, free: 18.84 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.4889, allocations: 128.3 kB / 0.6032 GB, free: 18.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.489, allocations: 47.95 kB / 0.6032 GB, free: 18.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.4897, allocations: 63.8 kB / 0.6033 GB, free: 18.59 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.4899, allocations: 52.91 kB / 0.6033 GB, free: 18.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.49, allocations: 39.92 kB / 0.6034 GB, free: 18.49 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.49, allocations: 95.27 kB / 0.6035 GB, free: 18.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.49, allocations: 4 kB / 0.6035 GB, free: 18.39 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005627/0.4906, allocations: 315.7 kB / 0.6038 GB, free: 18.09 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.002585/0.4932, allocations: 2.554 MB / 0.6063 GB, free: 15.5 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.4949, allocations: 1.338 MB / 0.6076 GB, free: 14.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4949, allocations: 64 / 0.6076 GB, free: 14.16 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.4957, allocations: 0.6576 MB / 0.6082 GB, free: 13.5 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.4963, allocations: 144.5 kB / 0.6084 GB, free: 13.36 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.508, allocations: 12.08 MB / 0.6202 GB, free: 1.195 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5083, allocations: 0.9144 MB / 0.621 GB, free: 260 kB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001087/0.5094, allocations: 388.6 kB / 0.6214 GB, free: 15.87 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.5099, allocations: 191.3 kB / 0.6216 GB, free: 15.68 MB / 478.3 MB Notification: Performance of SimCode: time 7.21e-07/0.5099, allocations: 3.938 kB / 0.6216 GB, free: 15.68 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5456/1.055, allocations: 16.51 MB / 0.6377 GB, free: 15.46 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/1.056, allocations: 257.3 kB / 0.638 GB, free: 15.17 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.234, allocations: 0 / 0.638 GB, free: 15.17 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches