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.001408/0.001408, allocations: 98.92 kB / 16.5 MB, free: 6.641 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.001501/0.001501, allocations: 195.1 kB / 17.42 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9019/0.9019, allocations: 119.3 MB / 410.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.4917 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.416, allocations: 80.68 MB / 0.5705 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001897/0.4179, allocations: 1.518 MB / 0.572 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.4181, allocations: 89.56 kB / 0.572 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.4182, allocations: 1.594 kB / 0.5721 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.025e-05/0.4183, allocations: 7.922 kB / 0.5721 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.4184, allocations: 65.89 kB / 0.5721 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.4185, allocations: 27.38 kB / 0.5721 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.419, allocations: 0.7147 MB / 0.5728 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.419, allocations: 5.438 kB / 0.5729 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.4192, allocations: 201.1 kB / 0.573 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.4195, allocations: 303.8 kB / 0.5733 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.372e-05/0.4196, allocations: 33.97 kB / 0.5734 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-05/0.4197, allocations: 29.38 kB / 0.5734 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.4198, allocations: 190 kB / 0.5736 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.42, allocations: 193.6 kB / 0.5738 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.4203, allocations: 333.7 kB / 0.5741 GB, free: 41.49 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4203, allocations: 0 / 0.5741 GB, free: 41.49 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.91e-07/0.4203, allocations: 0 / 0.5741 GB, free: 41.49 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.4203, allocations: 1.031 kB / 0.5741 GB, free: 41.49 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.002027/0.4223, allocations: 0.8516 MB / 0.5749 GB, free: 40.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.4224, allocations: 9.75 kB / 0.5749 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.4224, allocations: 65.28 kB / 0.575 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.4225, allocations: 31.69 kB / 0.575 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.4228, allocations: 260.4 kB / 0.5753 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.4228, allocations: 28.44 kB / 0.5753 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.4229, allocations: 47.53 kB / 0.5753 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.4236, allocations: 451.5 kB / 0.5758 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4236, allocations: 3.938 kB / 0.5758 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.4236, allocations: 10.75 kB / 0.5758 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4236, allocations: 6.875 kB / 0.5758 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.4242, allocations: 374.4 kB / 0.5761 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.4267, allocations: 2.165 MB / 0.5783 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.4275, allocations: 481.5 kB / 0.5787 GB, free: 37.97 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.428, allocations: 327.3 kB / 0.579 GB, free: 37.81 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.255e-05/0.428, allocations: 8.969 kB / 0.579 GB, free: 37.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.428, allocations: 37.78 kB / 0.5791 GB, free: 37.76 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.563e-06/0.4281, allocations: 0 / 0.5791 GB, free: 37.76 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.00131/0.4294, allocations: 0.8083 MB / 0.5799 GB, free: 37.39 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.4294, allocations: 68.83 kB / 0.5799 GB, free: 37.31 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.4295, allocations: 131.8 kB / 0.5801 GB, free: 37.19 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.4295, allocations: 36.23 kB / 0.5801 GB, free: 37.15 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.4296, allocations: 117.7 kB / 0.5802 GB, free: 37.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.4297, allocations: 209.1 kB / 0.5804 GB, free: 36.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.4299, allocations: 110.1 kB / 0.5805 GB, free: 36.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.4299, allocations: 343.6 kB / 0.5808 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.4303, allocations: 276.4 kB / 0.5811 GB, free: 36.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.4308, allocations: 335.8 kB / 0.5814 GB, free: 36.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/0.4317, allocations: 0.6132 MB / 0.582 GB, free: 35.89 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4317, allocations: 0 / 0.582 GB, free: 35.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00111/0.4328, allocations: 0.7285 MB / 0.5827 GB, free: 35.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4328, allocations: 9.031 kB / 0.5827 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4328, allocations: 1.094 kB / 0.5827 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4328, allocations: 6.531 kB / 0.5827 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4339, allocations: 258.6 kB / 0.583 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.434, allocations: 6.688 kB / 0.583 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.4344, allocations: 60.22 kB / 0.5831 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.4344, allocations: 16.66 kB / 0.5831 GB, free: 35.44 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.0001541/0.4346, allocations: 164.5 kB / 0.5832 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.4347, allocations: 31.31 kB / 0.5833 GB, free: 35.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.4348, allocations: 75.34 kB / 0.5833 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4349, allocations: 5.625 kB / 0.5833 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4349, allocations: 0 / 0.5833 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4349, allocations: 5.016 kB / 0.5833 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.4354, allocations: 470.1 kB / 0.5838 GB, free: 34.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4354, allocations: 7.938 kB / 0.5838 GB, free: 34.83 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.4367, allocations: 253.6 kB / 0.584 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4367, allocations: 5.219 kB / 0.584 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.4368, allocations: 26.22 kB / 0.5841 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4368, allocations: 2.219 kB / 0.5841 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4368, allocations: 0 / 0.5841 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.4382, allocations: 1.001 MB / 0.585 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.4383, allocations: 108.2 kB / 0.5851 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.4384, allocations: 24.77 kB / 0.5852 GB, free: 34.1 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.4388, allocations: 31.22 kB / 0.5852 GB, free: 34.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4389, allocations: 30.3 kB / 0.5852 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.4389, allocations: 12.84 kB / 0.5852 GB, free: 34.06 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.263e-05/0.439, allocations: 101.1 kB / 0.5853 GB, free: 33.97 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.32e-07/0.439, allocations: 0 / 0.5853 GB, free: 33.97 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004066/0.4394, allocations: 151.9 kB / 0.5855 GB, free: 33.82 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.001412/0.4408, allocations: 1.574 MB / 0.587 GB, free: 32.22 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000868/0.4417, allocations: 0.6386 MB / 0.5876 GB, free: 31.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4417, allocations: 0 / 0.5876 GB, free: 31.59 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.4421, allocations: 326.4 kB / 0.588 GB, free: 31.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4425, allocations: 59.95 kB / 0.588 GB, free: 31.21 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/0.4481, allocations: 5.963 MB / 0.5938 GB, free: 25.15 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.4483, allocations: 0.792 MB / 0.5946 GB, free: 24.33 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000461/0.4488, allocations: 174.8 kB / 0.5948 GB, free: 24.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.449, allocations: 95.41 kB / 0.5949 GB, free: 24.07 MB / 462.3 MB Notification: Performance of SimCode: time 4.91e-07/0.449, allocations: 0 / 0.5949 GB, free: 24.07 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3651/0.8142, allocations: 8.698 MB / 0.6034 GB, free: 15.61 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.8144, allocations: 257.1 kB / 0.6036 GB, free: 15.3 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.805, allocations: 0 / 0.6036 GB, free: 15.3 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