Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.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.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_40",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.002022/0.002022, allocations: 106.6 kB / 16.92 MB, free: 6.184 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.00226/0.00226, allocations: 191.5 kB / 17.85 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.104/2.104, allocations: 222.9 MB / 241.5 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.878/1.878, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.882, allocations: 80.69 MB / 0.5699 GB, free: 43.33 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40): time 0.004107/0.8862, allocations: 1.313 MB / 0.5711 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.8866, allocations: 49.28 kB / 0.5712 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.8866, allocations: 4 kB / 0.5712 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.8868, allocations: 7.922 kB / 0.5712 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.8869, allocations: 25.31 kB / 0.5712 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.8872, allocations: 14.62 kB / 0.5712 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000964/0.8882, allocations: 0.6532 MB / 0.5719 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.8883, allocations: 4.469 kB / 0.5719 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.8887, allocations: 228.6 kB / 0.5721 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/0.8893, allocations: 327.7 kB / 0.5724 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.8895, allocations: 38.09 kB / 0.5724 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.8897, allocations: 35.5 kB / 0.5725 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.89, allocations: 242.9 kB / 0.5727 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.8904, allocations: 238.8 kB / 0.5729 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006463/0.8911, allocations: 414.1 kB / 0.5733 GB, free: 41.03 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.8911, allocations: 1.188 kB / 0.5733 GB, free: 41.03 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.426e-06/0.8911, allocations: 0 / 0.5733 GB, free: 41.03 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.8911, allocations: 0 / 0.5733 GB, free: 41.03 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.006561/0.8977, allocations: 1.436 MB / 0.5747 GB, free: 40.07 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 8e-05/0.8978, allocations: 9.062 kB / 0.5747 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.8979, allocations: 75.62 kB / 0.5748 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.8981, allocations: 40.22 kB / 0.5749 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.8988, allocations: 266.2 kB / 0.5751 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.8989, allocations: 33.97 kB / 0.5751 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.8991, allocations: 68.02 kB / 0.5752 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.9003, allocations: 444.4 kB / 0.5756 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.9003, allocations: 3.938 kB / 0.5756 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.9004, allocations: 13.44 kB / 0.5756 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.9004, allocations: 9.375 kB / 0.5757 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006617/0.9011, allocations: 251.1 kB / 0.5759 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006334/0.9074, allocations: 3.495 MB / 0.5793 GB, free: 35.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/0.9233, allocations: 2.064 MB / 0.5813 GB, free: 35 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.9242, allocations: 187 kB / 0.5815 GB, free: 34.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.276e-05/0.9243, allocations: 11.66 kB / 0.5815 GB, free: 34.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.9244, allocations: 45.03 kB / 0.5816 GB, free: 34.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=39): time 5.32e-06/0.9244, allocations: 0 / 0.5816 GB, free: 34.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=39): time 0.001831/0.9263, allocations: 0.5986 MB / 0.5821 GB, free: 34.58 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.9263, allocations: 59.19 kB / 0.5822 GB, free: 34.52 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.9264, allocations: 129.3 kB / 0.5823 GB, free: 34.39 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.9265, allocations: 37.48 kB / 0.5824 GB, free: 34.36 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.9266, allocations: 144.1 kB / 0.5825 GB, free: 34.22 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.9268, allocations: 177.3 kB / 0.5827 GB, free: 34.06 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.927, allocations: 121.8 kB / 0.5828 GB, free: 33.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.9272, allocations: 339.7 kB / 0.5831 GB, free: 33.66 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/0.9277, allocations: 241.2 kB / 0.5833 GB, free: 33.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.9284, allocations: 250.6 kB / 0.5836 GB, free: 33.45 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.9296, allocations: 0.513 MB / 0.5841 GB, free: 33.22 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.9297, allocations: 0 / 0.5841 GB, free: 33.22 MB / 462.3 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001772/0.9314, allocations: 0.6423 MB / 0.5847 GB, free: 32.93 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.9315, allocations: 5.156 kB / 0.5847 GB, free: 32.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.9315, allocations: 1.5 kB / 0.5847 GB, free: 32.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.9315, allocations: 2.625 kB / 0.5847 GB, free: 32.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.9329, allocations: 169.4 kB / 0.5849 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.9329, allocations: 2.75 kB / 0.5849 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.9338, allocations: 85.27 kB / 0.585 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.9338, allocations: 16.81 kB / 0.585 GB, free: 32.81 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (78): * Single equations (assignments): 78 * 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.0003313/0.9342, allocations: 170.7 kB / 0.5851 GB, free: 32.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.9343, allocations: 22.41 kB / 0.5852 GB, free: 32.65 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.9345, allocations: 77.61 kB / 0.5852 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.9345, allocations: 5.344 kB / 0.5852 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.9345, allocations: 0 / 0.5852 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9346, allocations: 0 / 0.5852 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.9353, allocations: 413.5 kB / 0.5856 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9353, allocations: 3.938 kB / 0.5856 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.9367, allocations: 116.9 kB / 0.5857 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.9367, allocations: 2.438 kB / 0.5857 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.9368, allocations: 24.62 kB / 0.5858 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.9368, allocations: 5.406 kB / 0.5858 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9369, allocations: 7.938 kB / 0.5858 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.9386, allocations: 0.7547 MB / 0.5865 GB, free: 31.72 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.9388, allocations: 100.7 kB / 0.5866 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.9389, allocations: 23.98 kB / 0.5866 GB, free: 31.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008854/0.9398, allocations: 51.92 kB / 0.5867 GB, free: 31.53 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.94, allocations: 24.33 kB / 0.5867 GB, free: 31.51 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.9401, allocations: 12 kB / 0.5867 GB, free: 31.5 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000122/0.9403, allocations: 95.2 kB / 0.5868 GB, free: 31.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.5e-07/0.9403, allocations: 0 / 0.5868 GB, free: 31.4 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008306/0.9411, allocations: 175.8 kB / 0.587 GB, free: 31.23 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 39 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38],Ttilde[39]) * 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 (39): * Single equations (assignments): 39 * 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.00149/0.9426, allocations: 1.315 MB / 0.5883 GB, free: 29.89 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.9439, allocations: 0.6247 MB / 0.5889 GB, free: 29.27 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9439, allocations: 0 / 0.5889 GB, free: 29.27 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.9443, allocations: 227.7 kB / 0.5891 GB, free: 29.04 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.945, allocations: 88.84 kB / 0.5892 GB, free: 28.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008958/0.9539, allocations: 6.261 MB / 0.5953 GB, free: 22.61 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.9543, allocations: 0.8092 MB / 0.5961 GB, free: 21.77 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0007735/0.9551, allocations: 194.8 kB / 0.5963 GB, free: 21.58 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.9554, allocations: 107.4 kB / 0.5964 GB, free: 21.47 MB / 462.3 MB Notification: Performance of SimCode: time 2.995e-06/0.9554, allocations: 0 / 0.5964 GB, free: 21.47 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.9915, allocations: 10.19 MB / 0.6063 GB, free: 11.5 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.01, allocations: 17.28 kB / 0.6063 GB, free: 11.49 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.csv --start-time 0 --stop-time 1500 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches