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.001162/0.001162, allocations: 111.3 kB / 16.62 MB, free: 6.812 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.001157/0.001157, allocations: 190 kB / 17.55 MB, free: 5.934 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.235/1.235, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7014/0.7014, allocations: 119.3 MB / 410.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.91 kB / 0.4919 GB, free: 12.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3819, allocations: 80.69 MB / 0.5707 GB, free: 43.85 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001822/0.3838, allocations: 1.515 MB / 0.5722 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.384, allocations: 93.72 kB / 0.5722 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.3841, allocations: 1.312 kB / 0.5722 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.5e-05/0.3842, allocations: 13.42 kB / 0.5723 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.664e-05/0.3843, allocations: 60.64 kB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.3844, allocations: 30.95 kB / 0.5723 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.3848, allocations: 0.6359 MB / 0.573 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.3849, allocations: 5.406 kB / 0.573 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3851, allocations: 249.8 kB / 0.5732 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.3854, allocations: 312.6 kB / 0.5735 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.3854, allocations: 29.22 kB / 0.5735 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.3855, allocations: 30.44 kB / 0.5736 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3856, allocations: 185.7 kB / 0.5737 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.3858, allocations: 198.6 kB / 0.5739 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.386, allocations: 331.2 kB / 0.5742 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.386, allocations: 3.938 kB / 0.5743 GB, free: 41.43 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.583e-06/0.386, allocations: 0.9688 kB / 0.5743 GB, free: 41.43 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.386, allocations: 0 / 0.5743 GB, free: 41.43 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.001892/0.3879, allocations: 0.8511 MB / 0.5751 GB, free: 40.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.388, allocations: 15.77 kB / 0.5751 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.388, allocations: 68.5 kB / 0.5752 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.3881, allocations: 30.75 kB / 0.5752 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3883, allocations: 258.7 kB / 0.5754 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3884, allocations: 27.25 kB / 0.5755 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.3884, allocations: 52.06 kB / 0.5755 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.3891, allocations: 450.4 kB / 0.5759 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3891, allocations: 5.062 kB / 0.5759 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.3891, allocations: 10.19 kB / 0.576 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3891, allocations: 7 kB / 0.576 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.3897, allocations: 374.2 kB / 0.5763 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.3919, allocations: 2.158 MB / 0.5784 GB, free: 38.13 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.3926, allocations: 479.9 kB / 0.5789 GB, free: 37.9 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.3931, allocations: 323.5 kB / 0.5792 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.3931, allocations: 10.41 kB / 0.5792 GB, free: 37.74 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.3931, allocations: 35 kB / 0.5792 GB, free: 37.7 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.312e-06/0.3931, allocations: 0 / 0.5792 GB, free: 37.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001193/0.3943, allocations: 0.8031 MB / 0.58 GB, free: 37.33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.3944, allocations: 60.84 kB / 0.5801 GB, free: 37.26 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.3944, allocations: 134 kB / 0.5802 GB, free: 37.14 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.3945, allocations: 40.2 kB / 0.5802 GB, free: 37.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.3945, allocations: 118 kB / 0.5804 GB, free: 36.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/0.3946, allocations: 199.8 kB / 0.5806 GB, free: 36.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.3948, allocations: 115.3 kB / 0.5807 GB, free: 36.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.3948, allocations: 339.7 kB / 0.581 GB, free: 36.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.3952, allocations: 283.7 kB / 0.5813 GB, free: 36.28 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.3956, allocations: 331.7 kB / 0.5816 GB, free: 36.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.3964, allocations: 0.6005 MB / 0.5822 GB, free: 35.84 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3964, allocations: 0 / 0.5822 GB, free: 35.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009661/0.3974, allocations: 0.7321 MB / 0.5829 GB, free: 35.5 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3974, allocations: 13.31 kB / 0.5829 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3974, allocations: 0 / 0.5829 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3974, allocations: 3.375 kB / 0.5829 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/0.3984, allocations: 261.2 kB / 0.5831 GB, free: 35.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3984, allocations: 3.688 kB / 0.5831 GB, free: 35.44 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.3988, allocations: 60.78 kB / 0.5832 GB, free: 35.4 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3989, allocations: 20.34 kB / 0.5832 GB, free: 35.39 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.0001276/0.399, allocations: 159.8 kB / 0.5834 GB, free: 35.25 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.3991, allocations: 31.97 kB / 0.5834 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.3992, allocations: 79.33 kB / 0.5835 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3992, allocations: 5.406 kB / 0.5835 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3992, allocations: 0 / 0.5835 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3992, allocations: 1.094 kB / 0.5835 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.3997, allocations: 470.6 kB / 0.5839 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3997, allocations: 7.922 kB / 0.5839 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.4009, allocations: 256.9 kB / 0.5842 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.4009, allocations: 2.125 kB / 0.5842 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.401, allocations: 25.36 kB / 0.5842 GB, free: 34.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.401, allocations: 5.391 kB / 0.5842 GB, free: 34.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.401, allocations: 1.344 kB / 0.5842 GB, free: 34.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.4023, allocations: 0.9952 MB / 0.5852 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.4023, allocations: 116.2 kB / 0.5853 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.4024, allocations: 20.83 kB / 0.5853 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.4028, allocations: 27.22 kB / 0.5853 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.4029, allocations: 26.31 kB / 0.5854 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.4029, allocations: 20.7 kB / 0.5854 GB, free: 34.01 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.244e-05/0.4029, allocations: 100.7 kB / 0.5855 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4029, allocations: 0 / 0.5855 GB, free: 33.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003395/0.4033, allocations: 147.8 kB / 0.5856 GB, free: 33.79 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.001239/0.4045, allocations: 1.57 MB / 0.5872 GB, free: 32.19 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000898/0.4054, allocations: 0.791 MB / 0.5879 GB, free: 31.4 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4054, allocations: 4.062 kB / 0.5879 GB, free: 31.4 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.4058, allocations: 322.3 kB / 0.5882 GB, free: 31.09 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.4062, allocations: 71.83 kB / 0.5883 GB, free: 31.02 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.4113, allocations: 5.988 MB / 0.5942 GB, free: 24.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.4114, allocations: 0.7956 MB / 0.5949 GB, free: 24.11 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003956/0.4118, allocations: 178.8 kB / 0.5951 GB, free: 23.93 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.412, allocations: 95.41 kB / 0.5952 GB, free: 23.84 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.412, allocations: 4 kB / 0.5952 GB, free: 23.84 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6227/1.035, allocations: 8.906 MB / 0.6039 GB, free: 15.19 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.035, allocations: 264 kB / 0.6042 GB, free: 14.84 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.952, allocations: 0 / 0.6042 GB, free: 14.84 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