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.001295/0.001295, allocations: 112.6 kB / 16.51 MB, free: 6.707 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.001458/0.001458, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.161/1.161, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7171/0.7171, allocations: 119.3 MB / 410.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001113, allocations: 67.91 kB / 0.4917 GB, free: 12.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3723, allocations: 80.68 MB / 0.5705 GB, free: 44.16 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001779/0.3742, allocations: 1.509 MB / 0.572 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.3744, allocations: 98.34 kB / 0.572 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.3744, allocations: 4.75 kB / 0.5721 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.536e-05/0.3745, allocations: 8.953 kB / 0.5721 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.086e-05/0.3746, allocations: 58.33 kB / 0.5721 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.3748, allocations: 30.52 kB / 0.5721 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.3752, allocations: 0.7715 MB / 0.5729 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.3753, allocations: 9.406 kB / 0.5729 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3754, allocations: 241.9 kB / 0.5731 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.3758, allocations: 316.6 kB / 0.5734 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.3758, allocations: 32.94 kB / 0.5735 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.3759, allocations: 29.81 kB / 0.5735 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.3761, allocations: 179.2 kB / 0.5737 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.3762, allocations: 205.7 kB / 0.5739 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3765, allocations: 324.4 kB / 0.5742 GB, free: 41.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3765, allocations: 5.219 kB / 0.5742 GB, free: 41.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.42e-07/0.3765, allocations: 0 / 0.5742 GB, free: 41.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3765, allocations: 0 / 0.5742 GB, free: 41.67 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.001954/0.3785, allocations: 0.8557 MB / 0.575 GB, free: 41.05 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3785, allocations: 9.531 kB / 0.575 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.3786, allocations: 65.08 kB / 0.5751 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.3786, allocations: 32.72 kB / 0.5751 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.3789, allocations: 262.1 kB / 0.5754 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3789, allocations: 27.28 kB / 0.5754 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.379, allocations: 48.56 kB / 0.5754 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.3796, allocations: 446.5 kB / 0.5759 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3796, allocations: 3.938 kB / 0.5759 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.3797, allocations: 14.44 kB / 0.5759 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3797, allocations: 6.969 kB / 0.5759 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.3802, allocations: 379.1 kB / 0.5763 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.3826, allocations: 2.153 MB / 0.5784 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.3834, allocations: 475.8 kB / 0.5788 GB, free: 38.15 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.3838, allocations: 328 kB / 0.5791 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.3839, allocations: 9.438 kB / 0.5791 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.3839, allocations: 37.53 kB / 0.5792 GB, free: 37.94 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.452e-06/0.3839, allocations: 0 / 0.5792 GB, free: 37.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001255/0.3851, allocations: 0.8016 MB / 0.58 GB, free: 37.57 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.3852, allocations: 56.88 kB / 0.58 GB, free: 37.5 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.3852, allocations: 142.1 kB / 0.5801 GB, free: 37.38 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3853, allocations: 36.23 kB / 0.5802 GB, free: 37.34 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.3853, allocations: 122 kB / 0.5803 GB, free: 37.22 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.338e-05/0.3854, allocations: 199.8 kB / 0.5805 GB, free: 37.05 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.3856, allocations: 119.3 kB / 0.5806 GB, free: 36.98 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.485e-05/0.3856, allocations: 339.7 kB / 0.5809 GB, free: 36.64 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.3861, allocations: 286.8 kB / 0.5812 GB, free: 36.52 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.3865, allocations: 331.4 kB / 0.5815 GB, free: 36.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/0.3873, allocations: 0.605 MB / 0.5821 GB, free: 36.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3874, allocations: 5.094 kB / 0.5821 GB, free: 36.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00102/0.3884, allocations: 0.7307 MB / 0.5828 GB, free: 35.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3884, allocations: 5.75 kB / 0.5828 GB, free: 35.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3884, allocations: 0 / 0.5828 GB, free: 35.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3884, allocations: 3 kB / 0.5828 GB, free: 35.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3895, allocations: 261.9 kB / 0.5831 GB, free: 35.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3895, allocations: 2.719 kB / 0.5831 GB, free: 35.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.3899, allocations: 57.53 kB / 0.5831 GB, free: 35.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.3899, allocations: 20.78 kB / 0.5832 GB, free: 35.63 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.0001317/0.39, allocations: 159.2 kB / 0.5833 GB, free: 35.48 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.3901, allocations: 31.84 kB / 0.5833 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.3903, allocations: 76.52 kB / 0.5834 GB, free: 35.4 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3903, allocations: 4.531 kB / 0.5834 GB, free: 35.4 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3903, allocations: 1.094 kB / 0.5834 GB, free: 35.4 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3903, allocations: 3.984 kB / 0.5834 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.3908, allocations: 470 kB / 0.5839 GB, free: 35.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3908, allocations: 4.719 kB / 0.5839 GB, free: 35.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.3921, allocations: 257.2 kB / 0.5841 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3921, allocations: 1.219 kB / 0.5841 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.3921, allocations: 26.27 kB / 0.5841 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3922, allocations: 5.5 kB / 0.5841 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3922, allocations: 0 / 0.5841 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3934, allocations: 1.003 MB / 0.5851 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.3935, allocations: 112.6 kB / 0.5852 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.3936, allocations: 19.98 kB / 0.5853 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.3939, allocations: 35.83 kB / 0.5853 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.394, allocations: 24.39 kB / 0.5853 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.3941, allocations: 15.98 kB / 0.5853 GB, free: 34.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.3941, allocations: 95.27 kB / 0.5854 GB, free: 34.02 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.3941, allocations: 0 / 0.5854 GB, free: 34.02 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003605/0.3945, allocations: 151.9 kB / 0.5856 GB, free: 33.88 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.001301/0.3958, allocations: 1.574 MB / 0.5871 GB, free: 32.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007783/0.3966, allocations: 0.6309 MB / 0.5877 GB, free: 31.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3966, allocations: 0 / 0.5877 GB, free: 31.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.397, allocations: 318.3 kB / 0.588 GB, free: 31.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3974, allocations: 67.95 kB / 0.5881 GB, free: 31.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/0.4027, allocations: 5.996 MB / 0.5939 GB, free: 25.18 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.4028, allocations: 0.792 MB / 0.5947 GB, free: 24.36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004213/0.4033, allocations: 178.8 kB / 0.5949 GB, free: 24.19 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.4035, allocations: 95.41 kB / 0.595 GB, free: 24.09 MB / 462.3 MB Notification: Performance of SimCode: time 3.1e-07/0.4035, allocations: 0 / 0.595 GB, free: 24.09 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5761/0.9796, allocations: 8.699 MB / 0.6035 GB, free: 15.63 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.9798, allocations: 266.8 kB / 0.6037 GB, free: 15.27 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.813, allocations: 3.938 kB / 0.6037 GB, free: 15.27 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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches