Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",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.001208/0.001209, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001243/0.001243, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.176/1.176, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7859/0.7859, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.89 kB / 0.4924 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4, allocations: 80.68 MB / 0.5712 GB, free: 43.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001896/0.402, allocations: 1.455 MB / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002208/0.4022, allocations: 82.8 kB / 0.5727 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.4022, allocations: 5.219 kB / 0.5727 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.356e-05/0.4023, allocations: 17.08 kB / 0.5727 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.4024, allocations: 64.53 kB / 0.5728 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.4026, allocations: 33.61 kB / 0.5728 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004054/0.403, allocations: 0.6324 MB / 0.5734 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.403, allocations: 9.688 kB / 0.5734 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.4032, allocations: 237.2 kB / 0.5737 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.4036, allocations: 293.5 kB / 0.574 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.147e-05/0.4036, allocations: 32.62 kB / 0.574 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.4037, allocations: 29.28 kB / 0.574 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.4038, allocations: 186.8 kB / 0.5742 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.404, allocations: 194.4 kB / 0.5744 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.4043, allocations: 335 kB / 0.5747 GB, free: 41.42 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.4043, allocations: 0 / 0.5747 GB, free: 41.42 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4043, allocations: 1.312 kB / 0.5747 GB, free: 41.42 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.4043, allocations: 0 / 0.5747 GB, free: 41.42 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002029/0.4063, allocations: 0.845 MB / 0.5755 GB, free: 40.81 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.4064, allocations: 17.78 kB / 0.5755 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.4064, allocations: 60.8 kB / 0.5756 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.4065, allocations: 32.06 kB / 0.5756 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.4068, allocations: 262.6 kB / 0.5759 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.4068, allocations: 27.41 kB / 0.5759 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.4069, allocations: 52.23 kB / 0.576 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.4075, allocations: 447.1 kB / 0.5764 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4075, allocations: 3.938 kB / 0.5764 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.4076, allocations: 9.812 kB / 0.5764 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4076, allocations: 7.156 kB / 0.5764 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.4081, allocations: 378 kB / 0.5768 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.4107, allocations: 2.16 MB / 0.5789 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.4115, allocations: 476.1 kB / 0.5793 GB, free: 37.9 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.4119, allocations: 326.2 kB / 0.5796 GB, free: 37.74 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.412, allocations: 12.95 kB / 0.5796 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.412, allocations: 46.12 kB / 0.5797 GB, free: 37.68 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.814e-06/0.412, allocations: 0 / 0.5797 GB, free: 37.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001317/0.4133, allocations: 0.7981 MB / 0.5805 GB, free: 37.31 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.4134, allocations: 56.91 kB / 0.5805 GB, free: 37.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.4134, allocations: 133.7 kB / 0.5807 GB, free: 37.13 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.4135, allocations: 36.2 kB / 0.5807 GB, free: 37.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.4135, allocations: 124.8 kB / 0.5808 GB, free: 36.97 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.4136, allocations: 205.1 kB / 0.581 GB, free: 36.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.4138, allocations: 118 kB / 0.5811 GB, free: 36.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.4139, allocations: 339.7 kB / 0.5814 GB, free: 36.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.4143, allocations: 280.6 kB / 0.5817 GB, free: 36.27 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.4147, allocations: 335.5 kB / 0.582 GB, free: 36.1 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/0.4156, allocations: 0.6044 MB / 0.5826 GB, free: 35.82 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4156, allocations: 0 / 0.5826 GB, free: 35.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001051/0.4167, allocations: 0.728 MB / 0.5833 GB, free: 35.48 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4167, allocations: 9.484 kB / 0.5833 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4167, allocations: 0 / 0.5833 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4167, allocations: 3.344 kB / 0.5833 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.4178, allocations: 257.5 kB / 0.5836 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4178, allocations: 3.469 kB / 0.5836 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.4182, allocations: 62.61 kB / 0.5836 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.4183, allocations: 16.31 kB / 0.5837 GB, free: 35.38 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 (77): * Single equations (assignments): 77 * 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.0001395/0.4184, allocations: 164.1 kB / 0.5838 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.4185, allocations: 27.75 kB / 0.5838 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.4186, allocations: 75.44 kB / 0.5839 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4186, allocations: 4.688 kB / 0.5839 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4186, allocations: 1.219 kB / 0.5839 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4187, allocations: 3.984 kB / 0.5839 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.4191, allocations: 467 kB / 0.5844 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4191, allocations: 7.938 kB / 0.5844 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.4204, allocations: 256.6 kB / 0.5846 GB, free: 34.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4204, allocations: 2.281 kB / 0.5846 GB, free: 34.72 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.4205, allocations: 21.11 kB / 0.5846 GB, free: 34.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4205, allocations: 2.938 kB / 0.5846 GB, free: 34.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4205, allocations: 0 / 0.5846 GB, free: 34.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.4218, allocations: 1.015 MB / 0.5856 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.4219, allocations: 104.6 kB / 0.5857 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.422, allocations: 19.98 kB / 0.5858 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.4223, allocations: 23.97 kB / 0.5858 GB, free: 33.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.4224, allocations: 28.39 kB / 0.5858 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.4225, allocations: 16 kB / 0.5858 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.402e-05/0.4225, allocations: 95.97 kB / 0.5859 GB, free: 33.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4225, allocations: 0 / 0.5859 GB, free: 33.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003678/0.4229, allocations: 151.8 kB / 0.5861 GB, free: 33.69 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.00132/0.4242, allocations: 1.572 MB / 0.5876 GB, free: 32.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009795/0.4252, allocations: 0.7987 MB / 0.5884 GB, free: 31.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4252, allocations: 4.062 kB / 0.5884 GB, free: 31.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.4256, allocations: 322.3 kB / 0.5887 GB, free: 30.97 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.426, allocations: 67.89 kB / 0.5888 GB, free: 30.91 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.4314, allocations: 5.891 MB / 0.5945 GB, free: 24.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.4316, allocations: 0.7956 MB / 0.5953 GB, free: 24.11 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.432, allocations: 178.8 kB / 0.5955 GB, free: 23.93 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.4323, allocations: 91.41 kB / 0.5955 GB, free: 23.84 MB / 462.3 MB Notification: Performance of SimCode: time 6.01e-07/0.4323, allocations: 8 kB / 0.5955 GB, free: 23.84 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1547/0.587, allocations: 9.02 MB / 0.6044 GB, free: 15.03 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.987, allocations: 1.75 kB / 0.6044 GB, free: 15.03 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches