Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.0009299/0.0009299, allocations: 93.88 kB / 16.65 MB, free: 6.555 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.001049/0.001049, allocations: 178.7 kB / 17.56 MB, free: 6.18 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.368/1.368, 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.8335/0.8335, allocations: 120.5 MB / 413.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.000304, allocations: 12 kB / 0.4964 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.445, allocations: 82.83 MB / 0.5772 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001088/0.4462, allocations: 1.17 MB / 0.5784 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.4464, allocations: 94.41 kB / 0.5785 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.4464, allocations: 1.594 kB / 0.5785 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.658e-05/0.4465, allocations: 7.922 kB / 0.5785 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.861e-05/0.4466, allocations: 58.45 kB / 0.5785 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.4468, allocations: 29.92 kB / 0.5786 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.4473, allocations: 0.7157 MB / 0.5793 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.4473, allocations: 9.5 kB / 0.5793 GB, free: 40.31 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.4475, allocations: 200.8 kB / 0.5795 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.4478, allocations: 308.2 kB / 0.5798 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.4479, allocations: 28.75 kB / 0.5798 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.448, allocations: 30.12 kB / 0.5798 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.4481, allocations: 177.9 kB / 0.58 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.4483, allocations: 228.1 kB / 0.5802 GB, free: 39.78 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.4485, allocations: 324.6 kB / 0.5805 GB, free: 39.59 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4485, allocations: 3.938 kB / 0.5805 GB, free: 39.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4485, allocations: 5.359 kB / 0.5805 GB, free: 39.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.4485, allocations: 7.938 kB / 0.5805 GB, free: 39.58 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.001973/0.4505, allocations: 0.8253 MB / 0.5813 GB, free: 38.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4505, allocations: 9.25 kB / 0.5813 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.955e-05/0.4506, allocations: 65.78 kB / 0.5814 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.4507, allocations: 35.91 kB / 0.5814 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.4509, allocations: 257.8 kB / 0.5817 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.451, allocations: 35.62 kB / 0.5817 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.4511, allocations: 55.95 kB / 0.5818 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.4517, allocations: 447.1 kB / 0.5822 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4517, allocations: 3.938 kB / 0.5822 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.4518, allocations: 15.48 kB / 0.5822 GB, free: 38.35 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4518, allocations: 5 kB / 0.5822 GB, free: 38.35 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.4524, allocations: 374.6 kB / 0.5826 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.4548, allocations: 2.168 MB / 0.5847 GB, free: 36.32 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.4556, allocations: 485.2 kB / 0.5852 GB, free: 36.08 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.456, allocations: 325.6 kB / 0.5855 GB, free: 35.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.4561, allocations: 13.47 kB / 0.5855 GB, free: 35.92 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.4561, allocations: 37.62 kB / 0.5855 GB, free: 35.88 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.194e-06/0.4561, allocations: 0 / 0.5855 GB, free: 35.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001331/0.4574, allocations: 0.8114 MB / 0.5863 GB, free: 35.5 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.4575, allocations: 57.12 kB / 0.5864 GB, free: 35.43 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.4576, allocations: 135 kB / 0.5865 GB, free: 35.31 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.4576, allocations: 36.48 kB / 0.5865 GB, free: 35.27 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.4577, allocations: 125.5 kB / 0.5867 GB, free: 35.15 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.4578, allocations: 203.8 kB / 0.5868 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.4579, allocations: 67.88 kB / 0.5869 GB, free: 34.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.4579, allocations: 343 kB / 0.5872 GB, free: 34.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.4583, allocations: 275.9 kB / 0.5875 GB, free: 34.47 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.4588, allocations: 330.9 kB / 0.5878 GB, free: 34.31 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.4597, allocations: 0.6178 MB / 0.5884 GB, free: 34.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4597, allocations: 1.25 kB / 0.5884 GB, free: 34.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009854/0.4607, allocations: 0.7232 MB / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4607, allocations: 8 kB / 0.5891 GB, free: 33.42 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4607, allocations: 0 / 0.5891 GB, free: 33.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4607, allocations: 4 kB / 0.5891 GB, free: 33.42 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009749/0.4617, allocations: 255.7 kB / 0.5894 GB, free: 33.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4617, allocations: 11.97 kB / 0.5894 GB, free: 33.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.4621, allocations: 55.5 kB / 0.5894 GB, free: 33.1 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.4622, allocations: 24 kB / 0.5895 GB, free: 33.08 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.0001499/0.4623, allocations: 161.7 kB / 0.5896 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.4624, allocations: 27.66 kB / 0.5896 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.4626, allocations: 70.28 kB / 0.5897 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4626, allocations: 19.92 kB / 0.5897 GB, free: 32.8 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4626, allocations: 0 / 0.5897 GB, free: 32.8 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4626, allocations: 3.984 kB / 0.5897 GB, free: 32.8 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.4631, allocations: 473.3 kB / 0.5902 GB, free: 32.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4631, allocations: 3.938 kB / 0.5902 GB, free: 32.28 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.4643, allocations: 263.7 kB / 0.5904 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4643, allocations: 0 / 0.5904 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.4644, allocations: 19.98 kB / 0.5905 GB, free: 32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4644, allocations: 4 kB / 0.5905 GB, free: 32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4644, allocations: 0 / 0.5905 GB, free: 32 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.4656, allocations: 1.009 MB / 0.5915 GB, free: 30.97 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.4656, allocations: 104.7 kB / 0.5916 GB, free: 30.85 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.4657, allocations: 19.98 kB / 0.5916 GB, free: 30.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.4661, allocations: 27.88 kB / 0.5916 GB, free: 30.8 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.4662, allocations: 28.39 kB / 0.5916 GB, free: 30.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.4662, allocations: 16 kB / 0.5916 GB, free: 30.76 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.4663, allocations: 95.97 kB / 0.5917 GB, free: 30.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.62e-07/0.4663, allocations: 0 / 0.5917 GB, free: 30.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003673/0.4667, allocations: 159.8 kB / 0.5919 GB, free: 30.51 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.001368/0.468, allocations: 1.57 MB / 0.5934 GB, free: 28.91 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.4689, allocations: 0.6348 MB / 0.594 GB, free: 28.28 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4689, allocations: 0 / 0.594 GB, free: 28.28 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.4693, allocations: 326.3 kB / 0.5943 GB, free: 27.96 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.4697, allocations: 63.95 kB / 0.5944 GB, free: 27.9 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.4754, allocations: 6.339 MB / 0.6006 GB, free: 21.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.4756, allocations: 0.7998 MB / 0.6014 GB, free: 20.63 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004296/0.476, allocations: 174.8 kB / 0.6015 GB, free: 20.46 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.4762, allocations: 91.41 kB / 0.6016 GB, free: 20.38 MB / 462.3 MB Notification: Performance of SimCode: time 6.41e-07/0.4762, allocations: 0 / 0.6016 GB, free: 20.38 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3952/0.8714, allocations: 8.549 MB / 0.61 GB, free: 12.08 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.8716, allocations: 260.4 kB / 0.6102 GB, free: 11.79 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.909, allocations: 3.562 kB / 0.6102 GB, free: 11.79 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches